libvcs.sync.hg
¶
For mercurial, aka hg(1)
.
Tool to manage a local hg (Mercurial) working copy from a repository.
- class libvcs.sync.hg.HgSync(*, url, path, **kwargs)[source]¶
Bases:
BaseSync
Tool to manage a local hg (Mercurial) repository cloned from a remote one.
Local Mercurial repository.
- Parameters:
url (str) – URL in subversion repository
path (Path)
kwargs (t.Any)
- bin_name: str = 'hg'¶
VCS app name, e.g. ‘git’
- schemes: tuple[str, ...] = ('hg', 'hg+http', 'hg+https', 'hg+file')¶
List of supported schemes to register in
urlparse.uses_netloc
- __init__(*, url, path, **kwargs)[source]¶
Local Mercurial repository.
- Parameters:
url (str) – URL in subversion repository
path (StrPath)
kwargs (t.Any)
- Return type:
None
- cmd: Hg¶