diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py --- a/hgext/git/manifest.py +++ b/hgext/git/manifest.py @@ -62,7 +62,7 @@ comps = upath.split('/') for comp in comps[:-1]: te = self._tree[comp] - t = self.gitrepo[te.id] + t = self._git_repo[te.id] ent = t[comps[-1]] if ent.filemode == pygit2.GIT_FILEMODE_BLOB: flags = b''