streamclone: stream_out tried to decodefilename non-normalized paths
authorPatrick Mezard <pmezard@gmail.com>
Mon, 19 Feb 2007 09:59:37 +0100
changeset 4127 a3a6f71edf2e
parent 4122 306055f5b65c
child 4128 43d8f7466920
streamclone: stream_out tried to decodefilename non-normalized paths
mercurial/streamclone.py
--- a/mercurial/streamclone.py
+++ b/mercurial/streamclone.py
@@ -79,7 +79,7 @@ def stream_out(repo, fileobj):
     entries = []
     total_bytes = 0
     for name, size in walkrepo(repo.spath):
-        name = util.pconvert(repo.decodefn(name))
+        name = repo.decodefn(util.pconvert(name))
         entries.append((name, size))
         total_bytes += size
     repolock.release()