Show More
@@ -72,7 +72,9 b' def setup_persistent_nodemap(tr, revlog)' | |||||
72 | return # inlined revlog are too small for this to be relevant |
|
72 | return # inlined revlog are too small for this to be relevant | |
73 | if revlog.nodemap_file is None: |
|
73 | if revlog.nodemap_file is None: | |
74 | return # we do not use persistent_nodemap on this revlog |
|
74 | return # we do not use persistent_nodemap on this revlog | |
75 | callback_id = b"revlog-persistent-nodemap-%s" % revlog.nodemap_file |
|
75 | ||
|
76 | # we need to happen after the changelog finalization, in that use "cl-" | |||
|
77 | callback_id = b"nm-revlog-persistent-nodemap-%s" % revlog.nodemap_file | |||
76 | if tr.hasfinalize(callback_id): |
|
78 | if tr.hasfinalize(callback_id): | |
77 | return # no need to register again |
|
79 | return # no need to register again | |
78 | tr.addpending( |
|
80 | tr.addpending( |
General Comments 0
You need to be logged in to leave comments.
Login now