Mercurial > hg
diff mercurial/debugcommands.py @ 38599:f9805627af1f
fileset: sort debugfileset output
Unlike revset, the order of fileset result doesn't matter since it's used
as a matcher predicate. This stabilizes debugfileset output for upcoming
changes.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Jun 2018 18:26:04 +0900 |
parents | a0c3d83d5f04 |
children | 3d8ef60569d8 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sat Jun 09 18:00:26 2018 +0900 +++ b/mercurial/debugcommands.py Sat Jun 09 18:26:04 2018 +0900 @@ -884,7 +884,7 @@ tree = fileset.parse(expr) ui.note(fileset.prettyformat(tree), "\n") - for f in ctx.getfileset(expr): + for f in sorted(ctx.getfileset(expr)): ui.write("%s\n" % f) @command('debugformat',