equal
deleted
inserted
replaced
2064 self.ui.debug('scanning\n') |
2064 self.ui.debug('scanning\n') |
2065 entries = [] |
2065 entries = [] |
2066 total_bytes = 0 |
2066 total_bytes = 0 |
2067 # get consistent snapshot of repo, lock during scan |
2067 # get consistent snapshot of repo, lock during scan |
2068 lock = self.lock() |
2068 lock = self.lock() |
2069 for name, size in self.store.walk(): |
2069 for name, ename, size in self.store.walk(): |
2070 entries.append((name, size)) |
2070 entries.append((name, size)) |
2071 total_bytes += size |
2071 total_bytes += size |
2072 return entries, total_bytes |
2072 return entries, total_bytes |
2073 finally: |
2073 finally: |
2074 del lock |
2074 del lock |