Mercurial > hg
changeset 24227:8ec2df32bd39
context: don't sort manifest entries
The manifest iterator is now pre-sorted, so we can skip this check.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 17 Nov 2014 00:00:25 -0500 |
parents | b992769dd1be |
children | 542c891274b2 |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Fri Mar 06 21:29:47 2015 -0500 +++ b/mercurial/context.py Mon Nov 17 00:00:25 2014 -0500 @@ -66,8 +66,7 @@ return self.filectx(key) def __iter__(self): - for f in sorted(self._manifest): - yield f + return iter(self._manifest) def _manifestmatches(self, match, s): """generate a new manifest filtered by the match argument