changeset 3856:f9e129684b5d

streamclone: remove unnecessary test, pconvert names
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 10 Dec 2006 14:39:51 +0100
parents b9cdd6f2aa43
children f6f16f871049
files mercurial/streamclone.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/streamclone.py	Sun Dec 10 12:46:47 2006 +0100
+++ b/mercurial/streamclone.py	Sun Dec 10 14:39:51 2006 +0100
@@ -79,8 +79,7 @@
     entries = []
     total_bytes = 0
     for name, size in walkrepo(repo.spath):
-        if repo.decodefn:
-            name = repo.decodefn(name)
+        name = util.pconvert(repo.decodefn(name))
         entries.append((name, size))
         total_bytes += size
     repolock.release()