manifest: remove redundant sorted() call for --all
authorAdrian Buehlmann <adrian@cadifra.com>
Thu, 16 Aug 2012 13:57:43 +0200
changeset 17376 3738d6254bd3
parent 17375 499e284f3f32
child 17377 a10f7eeb2588
child 17476 210acc861c40
manifest: remove redundant sorted() call for --all repo.store.datafiles() is now already sorted (for all types of stores). A follow-up to 4cbb1137941d.
mercurial/commands.py
--- a/mercurial/commands.py	Wed Aug 15 16:33:26 2012 -0700
+++ b/mercurial/commands.py	Thu Aug 16 13:57:43 2012 +0200
@@ -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