Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 25255:ad1d2c952889
fileset: pretty print syntax tree in debug output
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 26 Apr 2015 22:26:44 +0900 |
parents | ac381dd7a21f |
children | 701df761aa94 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed May 06 10:17:41 2015 +0900 +++ b/mercurial/commands.py Sun Apr 26 22:26:44 2015 +0900 @@ -2165,7 +2165,7 @@ ctx = scmutil.revsingle(repo, opts.get('rev'), None) if ui.verbose: tree = fileset.parse(expr) - ui.note(tree, "\n") + ui.note(fileset.prettyformat(tree), "\n") for f in ctx.getfileset(expr): ui.write("%s\n" % f)