Mercurial > hg
comparison mercurial/streamclone.py @ 4127:a3a6f71edf2e
streamclone: stream_out tried to decodefilename non-normalized paths
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 19 Feb 2007 09:59:37 +0100 |
parents | f9e129684b5d |
children | 9dc64c8414ca |
comparison
equal
deleted
inserted
replaced
4122:306055f5b65c | 4127:a3a6f71edf2e |
---|---|
77 fileobj.write('0\n') | 77 fileobj.write('0\n') |
78 repo.ui.debug('scanning\n') | 78 repo.ui.debug('scanning\n') |
79 entries = [] | 79 entries = [] |
80 total_bytes = 0 | 80 total_bytes = 0 |
81 for name, size in walkrepo(repo.spath): | 81 for name, size in walkrepo(repo.spath): |
82 name = util.pconvert(repo.decodefn(name)) | 82 name = repo.decodefn(util.pconvert(name)) |
83 entries.append((name, size)) | 83 entries.append((name, size)) |
84 total_bytes += size | 84 total_bytes += size |
85 repolock.release() | 85 repolock.release() |
86 | 86 |
87 repo.ui.debug('%d files, %d bytes to transfer\n' % | 87 repo.ui.debug('%d files, %d bytes to transfer\n' % |