mercurial/localrepo.py
changeset 6900 def492d1b592
parent 6896 40690d614ce6
child 6901 43a817f3a649
equal deleted inserted replaced
6899:56a7a54e074f 6900:def492d1b592
  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