Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scm: support hg #945

efiop opened this Issue Jul 25, 2018 · 0 comments


None yet
2 participants
Copy link

efiop commented Jul 25, 2018

Need to simply add a proper driver to (see Git class as an example).

SebastianMauchly pushed a commit to SebastianMauchly/dvc that referenced this issue Oct 11, 2018

Sebastian Mauchly
scm: Added preliminary mercurial support
Added preliminary support for using dvc with a mercurial repository
instead of a git one. Changes include:
- Added a new Mercurial class in that implements the Base class
- Added python-hglib as a dependency, comparable to gitpython
- Changed various logging messages to reflect multi-vcs support, and
  in some cases brought this reporting under the purview of the
  particular scm subclass

Note that in rare cases where both a mercurial and git repo are
found in the same repo, a current limitation implies it will always
choose to use git.

This commit includes a shake at supporting installing mercurial
post-update hooks, but they are not well covered the test suite
and will likely need further work. Mercurial handles hooks all
from one file, so it requires additional intelligence to check
whether the hook is already installed.

Fixes # iterative#945
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.