equal
deleted
inserted
replaced
203 for entry in alldatafiles: |
203 for entry in alldatafiles: |
204 if not (entry.is_revlog and entry.is_revlog_main): |
204 if not (entry.is_revlog and entry.is_revlog_main): |
205 continue |
205 continue |
206 unencoded = entry.unencoded_path |
206 unencoded = entry.unencoded_path |
207 |
207 |
208 # the store.walk function will wrongly pickup transaction backup and |
|
209 # get confused. As a quick fix for 5.9 release, we ignore those. |
|
210 # (this is not a module constants because it seems better to keep the |
|
211 # hack together) |
|
212 skip_undo = ( |
|
213 b'undo.backup.00changelog.i', |
|
214 b'undo.backup.00manifest.i', |
|
215 ) |
|
216 if unencoded in skip_undo: |
|
217 continue |
|
218 |
|
219 rl = _revlogfrompath(srcrepo, entry.revlog_type, unencoded) |
208 rl = _revlogfrompath(srcrepo, entry.revlog_type, unencoded) |
220 |
209 |
221 info = rl.storageinfo( |
210 info = rl.storageinfo( |
222 exclusivefiles=True, |
211 exclusivefiles=True, |
223 revisionscount=True, |
212 revisionscount=True, |