##// END OF EJS Templates
Attempt to yield names in sorted order when walking....
Bryan O'Sullivan -
r822:b678e6d4 default
parent child Browse files
Show More
@@ -458,13 +458,17 b' class dirstate:'
458 458 ds = os.path.join(nd, sd +'/')
459 459 if self.ignore(ds) or not match(ds):
460 460 subdirs.remove(sd)
461 subdirs.sort()
462 fl.sort()
461 463 for fn in fl:
462 464 fn = util.pconvert(os.path.join(d, fn))
463 465 yield 'f', fn
464 466 else:
465 467 yield 'f', f[len(self.root) + 1:]
466 468
467 for k in dc.keys():
469 ks = dc.keys()
470 ks.sort()
471 for k in ks:
468 472 yield 'm', k
469 473
470 474 # yield only files that match: all in dirstate, others only if
General Comments 0
You need to be logged in to leave comments. Login now