# HG changeset patch # User Martin von Zweigbergk # Date 1427514954 25200 # Node ID ecac0dd246a853d25d37772264d2b5f807e42295 # Parent 8b51ec98a326f86a02b6b4488e071e78bf8e853e _lazymanifest: drop unnecessary call to sorted() The entries returned from _lazymanifest.iterentries() are already sorted. diff -r 8b51ec98a326 -r ecac0dd246a8 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,