Page MenuHomePhorge
Diviner libphutil Tech Docs PhutilMercurialBinaryAnalyzer

final class PhutilMercurialBinaryAnalyzer
libphutil Technical Documentation (Filesystem)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function getBinaryName()
Inherited

This method is not documented.
Return
wild

public function getBinaryKey()
Inherited

This method is not documented.
Return
wild

public function isBinaryAvailable()
Inherited

This method is not documented.
Return
wild

protected function newBinaryVersion()

This method is not documented.
Return
wild

protected function newBinaryPath()
Inherited

This method is not documented.
Return
wild

final public function getBinaryVersion()
Inherited

This method is not documented.
Return
wild

final public function requireBinaryVersion()
Inherited

This method is not documented.
Return
wild

final public function getBinaryPath()
Inherited

This method is not documented.
Return
wild

final public static function getAllBinaries()
Inherited

This method is not documented.
Return
wild

final public static function getForBinary($binary)
Inherited

This method is not documented.
Parameters
$binary
Return
wild

public static function parseMercurialBinaryVersion($stdout)

This method is not documented.
Parameters
$stdout
Return
wild

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
booleanTrue if the version of Mercurial is new enough to support the `files` command, or false if otherwise.
This method is not documented.
Return
wild

When using --template the format for accessing individual parents changed from {p1node} to {p1.node} in Mercurial 4.9.

Return
booleanTrue if the version of Mercurial is new enough to support the `{p1.node}` format in templates, or false if otherwise.

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
booleanTrue 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)

This method is not documented.
Parameters
$mercurial_version
$capability
Return
wild