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

login
register
mail settings
Submitter phabricator
Date March 19, 2021, 10:34 p.m.
Message ID <differential-rev-PHID-DREV-rt65kaezvuvlgrteq5bd-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48557/
State Superseded
Headers show

Comments

phabricator - March 19, 2021, 10:34 p.m.
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




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

Patch

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 = [