eric6.Plugins.VcsPlugins.vcsMercurial.HgUtilities
Module implementing some common utility functions for the Mercurial package.
Global Attributes
Classes
Functions
| getConfigPath | Public function to get the filename of the config file. | 
| hgVersion | Public method to determine the Mercurial version. | 
| prepareProcess | Public function to prepare the given process. | 
getConfigPath
getConfigPath()
    Public function to get the filename of the config file.
- Returns:
- 
filename of the config file (string)
hgVersion
hgVersion(plugin)
    Public method to determine the Mercurial version.
- plugin (VcsMercurialPlugin)
- 
reference to the plugin object
- Returns:
- 
tuple containing the Mercurial version as a string and as a tuple
        and an error message.
- Return Type:
- 
tuple of str, tuple of int and str
prepareProcess
prepareProcess(proc, encoding="", language="")
    Public function to prepare the given process.
- proc
- 
reference to the proces to be prepared (QProcess)
- encoding
- 
encoding to be used by the process (string)
- language
- 
language to be set (string)