Submitter | phabricator |
---|---|
Date | March 11, 2020, 3:44 p.m. |
Message ID | <40d3864f144477b7a9dbe0c722733ae5@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/45708/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/revlogutils/nodemap.py b/mercurial/revlogutils/nodemap.py --- a/mercurial/revlogutils/nodemap.py +++ b/mercurial/revlogutils/nodemap.py @@ -72,7 +72,9 @@ return # inlined revlog are too small for this to be relevant if revlog.nodemap_file is None: return # we do not use persistent_nodemap on this revlog - callback_id = b"revlog-persistent-nodemap-%s" % revlog.nodemap_file + + # we need to happen after the changelog finalization, in that use "cl-" + callback_id = b"nm-revlog-persistent-nodemap-%s" % revlog.nodemap_file if tr.hasfinalize(callback_id): return # no need to register again tr.addpending(