author | Alex Gaynor <agaynor@mozilla.com> |
Tue, 08 Aug 2017 18:53:13 +0000 | |
changeset 33707 | 36d216dcae6a |
parent 33706 | 01a1c4e66816 |
child 33708 | 71b77b61ed60 |
--- a/mercurial/dirstate.py Wed Jul 19 13:34:06 2017 -0700 +++ b/mercurial/dirstate.py Tue Aug 08 18:53:13 2017 +0000 @@ -359,8 +359,7 @@ return key in self._map def __iter__(self): - for x in sorted(self._map): - yield x + return iter(sorted(self._map)) def items(self): return self._map.iteritems()