equal
deleted
inserted
replaced
2107 """write and inspect on disk nodemap |
2107 """write and inspect on disk nodemap |
2108 """ |
2108 """ |
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() |
2116 cl = unfi.changelog |
2119 cl = unfi.changelog |
2117 nm_data = nodemap.persisted_data(cl) |
2120 nm_data = nodemap.persisted_data(cl) |