Submitter | phabricator |
---|---|
Date | March 5, 2020, 2:44 p.m. |
Message ID | <c3ce5865eeb5691f3629d8b6ee6a8a14@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/45502/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py --- a/hgext/git/manifest.py +++ b/hgext/git/manifest.py @@ -172,7 +172,7 @@ for te in tree: # TODO: can we prune dir walks with the matcher? realname = subdir + pycompat.fsencode(te.name) - if te.type == r'tree': + if te.type == pygit2.GIT_OBJ_TREE: for inner in self._walkonetree( self._git_repo[te.id], match, realname + b'/' ):