equal
deleted
inserted
replaced
1162 ui.write("\t%d -> %d\n" % (r.rev(pp[0]), i)) |
1162 ui.write("\t%d -> %d\n" % (r.rev(pp[0]), i)) |
1163 if pp[1] != nullid: |
1163 if pp[1] != nullid: |
1164 ui.write("\t%d -> %d\n" % (r.rev(pp[1]), i)) |
1164 ui.write("\t%d -> %d\n" % (r.rev(pp[1]), i)) |
1165 ui.write("}\n") |
1165 ui.write("}\n") |
1166 |
1166 |
|
1167 @command('debugindexstats', []) |
|
1168 def debugindexstats(ui, repo): |
|
1169 """show stats related to the changelog index""" |
|
1170 repo.changelog.shortest(nullid, 1) |
|
1171 for k, v in sorted(repo.changelog.index.stats().items()): |
|
1172 ui.write('%s: %s\n' % (k, v)) |
|
1173 |
1167 @command('debuginstall', [] + cmdutil.formatteropts, '', norepo=True) |
1174 @command('debuginstall', [] + cmdutil.formatteropts, '', norepo=True) |
1168 def debuginstall(ui, **opts): |
1175 def debuginstall(ui, **opts): |
1169 '''test Mercurial installation |
1176 '''test Mercurial installation |
1170 |
1177 |
1171 Returns 0 on success. |
1178 Returns 0 on success. |