Show More
@@ -2109,7 +2109,10 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 | data = nodemap.persistent_data(cl.index) |
|
2112 | if util.safehasattr(cl.index, "nodemap_data_all"): | |
|
2113 | data = cl.index.nodemap_data_all() | |||
|
2114 | else: | |||
|
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']: | |
2115 | unfi = repo.unfiltered() |
|
2118 | unfi = repo.unfiltered() |
General Comments 0
You need to be logged in to leave comments.
Login now