Show More
@@ -581,6 +581,7 b' def debugindexdot(ui, file_):' | |||||
581 |
|
581 | |||
582 | def debugwalk(ui, repo, *pats, **opts): |
|
582 | def debugwalk(ui, repo, *pats, **opts): | |
583 | items = list(walk(repo, pats, opts)) |
|
583 | items = list(walk(repo, pats, opts)) | |
|
584 | if not items: return | |||
584 | fmt = '%%s %%-%ds %%s' % max([len(abs) for (src, abs, rel) in items]) |
|
585 | fmt = '%%s %%-%ds %%s' % max([len(abs) for (src, abs, rel) in items]) | |
585 | for i in items: print fmt % i |
|
586 | for i in items: print fmt % i | |
586 |
|
587 |
General Comments 0
You need to be logged in to leave comments.
Login now