diff mercurial/manifest.py @ 24502:ecac0dd246a8

_lazymanifest: drop unnecessary call to sorted() The entries returned from _lazymanifest.iterentries() are already sorted.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 27 Mar 2015 20:55:54 -0700
parents d2a3a2808974
children 63b6031384fc
line wrap: on
line diff
--- 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,