PyFoam.Basics.HgInterface module¶
A VCS-interface to Mercurial
-
class
PyFoam.Basics.HgInterface.
HgInterface
(path, init=False)[source]¶ Bases:
PyFoam.Basics.GeneralVCSInterface.GeneralVCSInterface
The interface class to mercurial
-
__init__
(path, init=False)[source]¶ Parameters: - path – path which is supposed to be under version control
- init – initialize the version control system here
-
__module__
= 'PyFoam.Basics.HgInterface'¶
-
addGlobToIgnore
(expr)[source]¶ Add to the ignore-facility of the current VCS :param expr: a glob expression
-
addPath
(path, rules=[])[source]¶ Add the path to the repository (no commit) :param path: the path (directory or file) to commit :param rules: a list of tuples: first is whether to include or exclude the regular expression that is the second member of the tuple
-
addRegexpToIgnore
(expr)[source]¶ Add to the ignore-facility of the current VCS :param expr: a regular expression
-