D10241: git: fix missing case from 6266d19556ad (introduction of nodeconstants)

joerg.sonnenberger (Joerg Sonnenberger) phabricator at mercurial-scm.org
Fri Mar 19 22:34:47 UTC 2021


joerg.sonnenberger created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  hgext/git/gitlog.py

CHANGE DETAILS

diff --git a/hgext/git/gitlog.py b/hgext/git/gitlog.py
--- a/hgext/git/gitlog.py
+++ b/hgext/git/gitlog.py
@@ -218,7 +218,7 @@
             n = nodeorrev
         # handle looking up nullid
         if n == nullid:
-            return hgchangelog._changelogrevision(extra={})
+            return hgchangelog._changelogrevision(extra={}, manifest=nullid)
         hn = gitutil.togitnode(n)
         # We've got a real commit!
         files = [



To: joerg.sonnenberger, durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list