Mercurial > hg > mercurial-crew-with-dirclash
changeset 868:6a8a50bcc143
Fix debugwalk when there's nothing to walk.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 07 Aug 2005 11:04:58 -0800 |
parents | 9c918287d10b |
children | 1e3a23719662 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -581,6 +581,7 @@ def debugindexdot(ui, file_): def debugwalk(ui, repo, *pats, **opts): items = list(walk(repo, pats, opts)) + if not items: return fmt = '%%s %%-%ds %%s' % max([len(abs) for (src, abs, rel) in items]) for i in items: print fmt % i