Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 32491:2def402bd16d
debugwalk: also print matcher representation
This will make the effect of coming patches clearer.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 22 May 2017 11:08:52 -0700 |
parents | 08d02c1d7e67 |
children | b62b2b373bce |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Thu May 25 01:45:52 2017 +0200 +++ b/mercurial/debugcommands.py Mon May 22 11:08:52 2017 -0700 @@ -2125,6 +2125,7 @@ def debugwalk(ui, repo, *pats, **opts): """show how files match on given patterns""" m = scmutil.match(repo[None], pats, opts) + ui.write(('matcher: %r\n' % m)) items = list(repo[None].walk(m)) if not items: return