public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function getBinaryName()Inherited
public function getBinaryName()
Inherited
Return
wild |
public function getBinaryKey()Inherited
public function getBinaryKey()
Inherited
Return
wild |
public function isBinaryAvailable()Inherited
public function isBinaryAvailable()
Inherited
Return
wild |
protected function newBinaryVersion()
protected function newBinaryVersion()
Return
wild |
protected function newBinaryPath()Inherited
protected function newBinaryPath()
Inherited
Return
wild |
final public function getBinaryVersion()Inherited
final public function getBinaryVersion()
Inherited
Return
wild |
final public function requireBinaryVersion()Inherited
final public function requireBinaryVersion()
Inherited
Return
wild |
final public function getBinaryPath()Inherited
final public function getBinaryPath()
Inherited
Return
wild |
final public static function getAllBinaries()Inherited
final public static function getAllBinaries()
Inherited
Return
wild |
final public static function getForBinary($binary)Inherited
final public static function getForBinary($binary)
Inherited
Parameters
$binary |
Return
wild |
public static function parseMercurialBinaryVersion($stdout)
public static function parseMercurialBinaryVersion($stdout)
Parameters
$stdout |
Return
wild |
public function isMercurialFilesCommandAvailable()
public function isMercurialFilesCommandAvailable()
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.
Return
boolean | True if the version of Mercurial is new enough to support the `files` command, or false if otherwise. |
public function isMercurialVulnerableToInjection()
public function isMercurialVulnerableToInjection()
Return
wild |
public function isMercurialTemplatePnodeAvailable()
public function isMercurialTemplatePnodeAvailable()
When using --template the format for accessing individual parents changed from {p1node} to {p1.node} in Mercurial 4.9.
Return
boolean | True if the version of Mercurial is new enough to support the `{p1.node}` format in templates, or false if otherwise. |
public function isMercurialAnnotateTemplatesAvailable()
public function isMercurialAnnotateTemplatesAvailable()
The hg annotate command did not accept the --template argument until version 4.6. It appears to function in version 4.5 however it's not documented and wasn't announced until the 4.6 release.
Return
boolean | True if the version of Mercurial is new enough to support the `--template` option when using `hg annotate`, or false if otherwise. |
public static function versionHasCapability($mercurial_version, $capability)
public static function versionHasCapability($mercurial_version, $capability)
Parameters
$mercurial_version | ||
$capability |
Return
wild |