Mercurial > hg-stable
changeset 18381:7ac4449f0f39
clone: don't include empty revlogs in stream
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 15 Jan 2013 20:55:47 +0100 |
parents | a4d7fd7ad1f7 |
children | f3b21beb9802 |
files | mercurial/wireproto.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/wireproto.py Tue Jan 15 20:54:57 2013 +0100 +++ b/mercurial/wireproto.py Tue Jan 15 20:55:47 2013 +0100 @@ -545,8 +545,9 @@ try: repo.ui.debug('scanning\n') for name, ename, size in repo.store.walk(): - entries.append((name, size)) - total_bytes += size + if size: + entries.append((name, size)) + total_bytes += size finally: lock.release() except error.LockError: