fix problem with uncompressed clone and python 2.3.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Mon, 17 Jul 2006 07:43:15 -0700
changeset 2623 d1cbfe9e13cd
parent 2622 064aef9162cc
child 2630 837119f1bf4d
fix problem with uncompressed clone and python 2.3.
mercurial/streamclone.py
--- a/mercurial/streamclone.py	Sun Jul 16 10:04:16 2006 -0700
+++ b/mercurial/streamclone.py	Mon Jul 17 07:43:15 2006 -0700
@@ -40,7 +40,8 @@
         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