diff mercurial/streamclone.py @ 2623:d1cbfe9e13cd

fix problem with uncompressed clone and python 2.3.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 17 Jul 2006 07:43:15 -0700
parents 064aef9162cc
children d5dd0a2a44bc
line wrap: on
line diff
--- 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