# eric6.Plugins.VcsPlugins.vcsMercurial.HgUtilities

Module implementing some common utility functions for the Mercurial package.

### Global Attributes

None

### Classes

None

### Functions

getConfigPath | Public function to get the filename of the config file.
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)

Up

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

Up