Mercurial > hgsubversion
diff fetch_command.py @ 163:fdc249cd1a0a
Combine sort and reverse.
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Tue, 30 Dec 2008 19:24:16 -0600 |
parents | 91c818377703 |
children | db88e528e8e6 |
line wrap: on
line diff
--- a/fetch_command.py +++ b/fetch_command.py @@ -360,8 +360,7 @@ def makecopyfinder(r, branchpath, rootdi source = e.copyfrom_path[len(fullbranchpath):] copies.append((dest, (source, e.copyfrom_rev))) - copies.sort() - copies.reverse() + copies.sort(reverse=True) exactcopies = dict(copies) def finder(path):