The Mercurial binary being used
There may well be multiple versions in use; lets track which one I am using so the user knows which one is being used.
It is labeled as $hg because this is the symbology adopted by the Mercurial project, since HG is the chemical symbol of the element: Mercury.
Error messages for humans
The version of the Mercurial executable.
Constructor
Get the full path of the currently used Mercurial executable
Get the version of Mercurial we are currently using
Set the Hg executable's path manually
If you need to specifiy a particular Hg executable to use, then pass in the full path to Mercurial as a paramter of this function.
It could have been passed into VersionControl_Hg's constructor, but I feel it is uncommon enough to pass in a custom Hg path that it could be relegated to a separate function call.
Usage:
Returns the version of the Mercurial executable.
Implements the version command of the command-line client. Possible values are: (version 1.1), (version 1.1+20081220), (version 1.1+e54ac289bed), (unknown)
Proxy to setVersion; distinguish between accessor getVersion() and command 'version'
Proxy down to the repository class
Documentation generated on Tue, 18 Aug 2009 23:53:18 -0600 by phpDocumentor 1.4.2