changeset 44496 | ec54b3d2af0b |
parent 44491 | 7518ea76eff4 |
child 44629 | e9e7156a8d6c |
--- a/hgext/git/manifest.py Mon Mar 09 12:53:21 2020 -0700 +++ b/hgext/git/manifest.py Mon Mar 09 11:18:33 2020 -0700 @@ -1,7 +1,5 @@ from __future__ import absolute_import -import pygit2 - from mercurial import ( match as matchmod, pathutil, @@ -15,6 +13,9 @@ from . import gitutil +pygit2 = gitutil.get_pygit2() + + @interfaceutil.implementer(repository.imanifestdict) class gittreemanifest(object): """Expose git trees (and optionally a builder's overlay) as a manifestdict.