--- a/mercurial/context.py Tue Jan 15 02:59:12 2013 +0100
+++ b/mercurial/context.py Wed Dec 12 02:38:14 2012 +0100
@@ -1035,13 +1035,13 @@
return self._parents[0].ancestor(c2) # punt on two parents for now
def walk(self, match):
- return sorted(self._repo.dirstate.walk(match, self.substate.keys(),
+ return sorted(self._repo.dirstate.walk(match, sorted(self.substate),
True, False))
def dirty(self, missing=False, merge=True, branch=True):
"check whether a working directory is modified"
# check subrepos first
- for s in self.substate:
+ for s in sorted(self.substate):
if self.sub(s).dirty():
return True
# check current working dir