mercurial/debugcommands.py
changeset 44512 febe88a6f7f7
parent 44463 295417387769
child 44515 6c906eaedd0d
--- a/mercurial/debugcommands.py	Wed Feb 12 10:53:24 2020 +0100
+++ b/mercurial/debugcommands.py	Tue Feb 18 18:32:55 2020 +0100
@@ -2109,7 +2109,10 @@
     if opts['dump_new']:
         unfi = repo.unfiltered()
         cl = unfi.changelog
-        data = nodemap.persistent_data(cl.index)
+        if util.safehasattr(cl.index, "nodemap_data_all"):
+            data = cl.index.nodemap_data_all()
+        else:
+            data = nodemap.persistent_data(cl.index)
         ui.write(data)
     elif opts['dump_disk']:
         unfi = repo.unfiltered()