Show More
@@ -2020,7 +2020,7 b' def debugrename(ui, repo, file1, *pats, ' | |||||
2020 | for abs in ctx.walk(m): |
|
2020 | for abs in ctx.walk(m): | |
2021 | fctx = ctx[abs] |
|
2021 | fctx = ctx[abs] | |
2022 | o = fctx.filelog().renamed(fctx.filenode()) |
|
2022 | o = fctx.filelog().renamed(fctx.filenode()) | |
2023 |
rel = |
|
2023 | rel = repo.pathto(abs) | |
2024 | if o: |
|
2024 | if o: | |
2025 | ui.write(_("%s renamed from %s:%s\n") % (rel, o[0], hex(o[1]))) |
|
2025 | ui.write(_("%s renamed from %s:%s\n") % (rel, o[0], hex(o[1]))) | |
2026 | else: |
|
2026 | else: | |
@@ -2796,9 +2796,9 b' def debugwalk(ui, repo, *pats, **opts):' | |||||
2796 | f = lambda fn: util.normpath(fn) |
|
2796 | f = lambda fn: util.normpath(fn) | |
2797 | fmt = 'f %%-%ds %%-%ds %%s' % ( |
|
2797 | fmt = 'f %%-%ds %%-%ds %%s' % ( | |
2798 | max([len(abs) for abs in items]), |
|
2798 | max([len(abs) for abs in items]), | |
2799 |
max([len( |
|
2799 | max([len(repo.pathto(abs)) for abs in items])) | |
2800 | for abs in items: |
|
2800 | for abs in items: | |
2801 |
line = fmt % (abs, f( |
|
2801 | line = fmt % (abs, f(repo.pathto(abs)), m.exact(abs) and 'exact' or '') | |
2802 | ui.write("%s\n" % line.rstrip()) |
|
2802 | ui.write("%s\n" % line.rstrip()) | |
2803 |
|
2803 | |||
2804 | @command('debugwhyunstable', [], _('REV')) |
|
2804 | @command('debugwhyunstable', [], _('REV')) |
General Comments 0
You need to be logged in to leave comments.
Login now