Mercurial > public > mercurial-scm > hg
diff mercurial/streamclone.py @ 6762:f67d1468ac50
util: add sort helper
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 27 Jun 2008 18:28:45 -0500 |
parents | e75aab656f46 |
children | b9d6ab187523 |
line wrap: on
line diff
--- a/mercurial/streamclone.py Fri Jun 27 14:53:30 2008 -0500 +++ b/mercurial/streamclone.py Fri Jun 27 18:28:45 2008 -0500 @@ -34,8 +34,7 @@ for x in walk(os.path.join(root, 'data'), True): yield x # write manifest before changelog - meta = list(walk(root, False)) - meta.sort() + meta = util.sort(walk(root, False)) meta.reverse() for x in meta: yield x