# HG changeset patch # User Mads Kiilerich # Date 1358279747 -3600 # Node ID 7ac4449f0f39993b5e00985ecb3369abdbac18a3 # Parent a4d7fd7ad1f754da1ae4ff047f1a3647812f81b5 clone: don't include empty revlogs in stream diff -r a4d7fd7ad1f7 -r 7ac4449f0f39 mercurial/wireproto.py --- 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: