[PATCH] streamclone: stream_out tried to decodefilename non-normalized paths

Patrick Mezard pmezard at gmail.com
Mon Feb 19 09:28:56 UTC 2007


# HG changeset patch
# User Patrick Mezard <pmezard at gmail.com>
# Date 1171875577 -3600
# Node ID 7616d268eaf94bf50ab835937cb9202078c7ddad
# Parent  e2ed92f4c0f759fe2a2803853bfcb92f135d85c5
streamclone: stream_out tried to decodefilename non-normalized paths

diff -r e2ed92f4c0f7 -r 7616d268eaf9 mercurial/streamclone.py
--- a/mercurial/streamclone.py	Sat Feb 17 04:50:06 2007 -0200
+++ b/mercurial/streamclone.py	Mon Feb 19 09:59:37 2007 +0100
@@ -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()



More information about the Mercurial-devel mailing list