Mercurial > public > mercurial-scm > hg
diff mercurial/context.py @ 4640:178778ca648f
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 20 Jun 2007 00:22:51 +0200 |
parents | 63b9d2deed48 3c7fc13c4bfa |
children | 6b2e8cb39583 |
line wrap: on
line diff
--- a/mercurial/context.py Tue Jun 19 08:51:34 2007 +0200 +++ b/mercurial/context.py Wed Jun 20 00:22:51 2007 +0200 @@ -291,11 +291,10 @@ # sort by revision (per file) which is a topological order visit = [] - files.reverse() for f in files: - fn = [(n._filerev, n) for n in needed.keys() if n._path == f] - fn.sort() + fn = [(n.rev(), n) for n in needed.keys() if n._path == f] visit.extend(fn) + visit.sort() hist = {} for r, f in visit: