mercurial/streamclone.py
changeset 4134 9dc64c8414ca
parent 3893 6b4127c7d52a
parent 4127 a3a6f71edf2e
child 4865 439e2f2fde42
--- a/mercurial/streamclone.py
+++ b/mercurial/streamclone.py
@@ -78,7 +78,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()