_lazymanifest: drop unnecessary call to sorted()
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 27 Mar 2015 20:55:54 -0700
changeset 24502 ecac0dd246a8
parent 24501 8b51ec98a326
child 24503 944749de6f3a
_lazymanifest: drop unnecessary call to sorted() The entries returned from _lazymanifest.iterentries() are already sorted.
mercurial/manifest.py
--- a/mercurial/manifest.py	Sun Mar 29 00:00:14 2015 -0400
+++ b/mercurial/manifest.py	Fri Mar 27 20:55:54 2015 -0700
@@ -87,7 +87,7 @@
 
     def text(self):
         """Get the full data of this manifest as a bytestring."""
-        fl = sorted(self.iterentries())
+        fl = self.iterentries()
 
         _hex = revlog.hex
         # if this is changed to support newlines in filenames,