[PATCH] manifest: remove redundant sorted() call for --all
Adrian Buehlmann
adrian at cadifra.com
Thu Aug 16 09:48:11 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1345118263 -7200
# Node ID 3738d6254bd379be7fd8d933faff60c2d1d851d3
# Parent 499e284f3f32a36d19d3102f2e25dd09a7bca897
manifest: remove redundant sorted() call for --all
repo.store.datafiles() is now already sorted (for all types of stores).
A follow-up to 4cbb1137941d.
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4177,7 +4177,7 @@
res.append(fn[plen:-slen])
finally:
lock.release()
- for f in sorted(res):
+ for f in res:
ui.write("%s\n" % f)
return
More information about the Mercurial-devel
mailing list