Mercurial > hg
comparison mercurial/localrepo.py @ 6900:def492d1b592
store: change handling of decoding errors
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Aug 2008 20:18:43 -0500 |
parents | 40690d614ce6 |
children | 43a817f3a649 |
comparison
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 |