changeset 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 8b51ec98a326
children 944749de6f3a
files mercurial/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,