##// END OF EJS Templates
clone: don't include empty revlogs in stream
Mads Kiilerich -
r18381:7ac4449f default
parent child Browse files
Show More
@@ -545,8 +545,9 b' def stream(repo, proto):'
545 try:
545 try:
546 repo.ui.debug('scanning\n')
546 repo.ui.debug('scanning\n')
547 for name, ename, size in repo.store.walk():
547 for name, ename, size in repo.store.walk():
548 entries.append((name, size))
548 if size:
549 total_bytes += size
549 entries.append((name, size))
550 total_bytes += size
550 finally:
551 finally:
551 lock.release()
552 lock.release()
552 except error.LockError:
553 except error.LockError:
General Comments 0
You need to be logged in to leave comments. Login now