mercurial/wireproto.py
changeset 18381 7ac4449f0f39
parent 18281 898c575833c9
child 18382 f3b21beb9802
--- 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: