##// END OF EJS Templates
nodemap: use data from the index in debugnodemap --dump-new...
marmoute -
r44999:febe88a6 default
parent child Browse files
Show More
@@ -2109,6 +2109,9 b' def debugnodemap(ui, repo, **opts):'
2109 if opts['dump_new']:
2109 if opts['dump_new']:
2110 unfi = repo.unfiltered()
2110 unfi = repo.unfiltered()
2111 cl = unfi.changelog
2111 cl = unfi.changelog
2112 if util.safehasattr(cl.index, "nodemap_data_all"):
2113 data = cl.index.nodemap_data_all()
2114 else:
2112 data = nodemap.persistent_data(cl.index)
2115 data = nodemap.persistent_data(cl.index)
2113 ui.write(data)
2116 ui.write(data)
2114 elif opts['dump_disk']:
2117 elif opts['dump_disk']:
General Comments 0
You need to be logged in to leave comments. Login now