Patchwork D8177: hgit: fix self.gitrepo -> self._git_repo

login
register
mail settings
Submitter phabricator
Date Feb. 28, 2020, 1:19 p.m.
Message ID <differential-rev-PHID-DREV-yb7dfbojwscefkzf6ewt-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/45378/
State Superseded
Headers show

Comments

phabricator - Feb. 28, 2020, 1:19 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8177

AFFECTED FILES
  hgext/git/manifest.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel
phabricator - March 3, 2020, 6:50 p.m.
durin42 added a comment.
durin42 added a reviewer: pulkit.
durin42 commandeered this revision.


  Folded this into the base revision, many thanks.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8177/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8177

To: durin42, #hg-reviewers, pulkit
Cc: durin42, mercurial-devel

Patch

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''