# HG changeset patch # User Vadim Gelfer # Date 2006-07-17 14:43:15 # Node ID d1cbfe9e13cdc4383193514caa5d1c8b0cca7c80 # Parent 064aef9162cc3652998036ed24ff00b396d0d32f fix problem with uncompressed clone and python 2.3. diff --git a/mercurial/streamclone.py b/mercurial/streamclone.py --- a/mercurial/streamclone.py +++ b/mercurial/streamclone.py @@ -40,7 +40,8 @@ def walkrepo(root): yield x # write manifest before changelog meta = list(walk(root, False)) - meta.sort(reverse=True) + meta.sort() + meta.reverse() for x in meta: yield x