Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/streamclone.py @ 4134:9dc64c8414ca
Merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 04 Mar 2007 09:03:21 -0300 |
parents | 6b4127c7d52a a3a6f71edf2e |
children | 439e2f2fde42 |
comparison
equal
deleted
inserted
replaced
4126:b9dcee25be8e | 4134:9dc64c8414ca |
---|---|
76 fileobj.write('0\n') | 76 fileobj.write('0\n') |
77 repo.ui.debug('scanning\n') | 77 repo.ui.debug('scanning\n') |
78 entries = [] | 78 entries = [] |
79 total_bytes = 0 | 79 total_bytes = 0 |
80 for name, size in walkrepo(repo.spath): | 80 for name, size in walkrepo(repo.spath): |
81 name = util.pconvert(repo.decodefn(name)) | 81 name = repo.decodefn(util.pconvert(name)) |
82 entries.append((name, size)) | 82 entries.append((name, size)) |
83 total_bytes += size | 83 total_bytes += size |
84 repolock.release() | 84 repolock.release() |
85 | 85 |
86 repo.ui.debug('%d files, %d bytes to transfer\n' % | 86 repo.ui.debug('%d files, %d bytes to transfer\n' % |