public static function getMercurialVersion()
public static function getMercurialVersion()
Return
| wild |
public static function isMercurialFilesCommandAvailable($mercurial_version)
public static function isMercurialFilesCommandAvailable($mercurial_version)
The locate command is deprecated as of Mercurial 3.2, to be replaced with files command, which supports most of the same arguments. This determines whether the new files command should be used instead of the locate command.
Parameters
| string | $mercurial_version | - The current version of mercurial which can be retrieved by calling: PhabricatorRepositoryVersion::getMercurialVersion() |
Return
| boolean | True if the version of Mercurial is new enough to support the `files` command, or false if otherwise. |