equal
deleted
inserted
replaced
198 # source files and allows a unified progress bar to be displayed. |
198 # source files and allows a unified progress bar to be displayed. |
199 for rl_type, unencoded, encoded, size in alldatafiles: |
199 for rl_type, unencoded, encoded, size in alldatafiles: |
200 if not rl_type & store.FILEFLAGS_REVLOG_MAIN: |
200 if not rl_type & store.FILEFLAGS_REVLOG_MAIN: |
201 continue |
201 continue |
202 |
202 |
|
203 # the store.walk function will wrongly pickup transaction backup and |
|
204 # get confused. As a quick fix for 5.9 release, we ignore those. |
|
205 # (this is not a module constants because it seems better to keep the |
|
206 # hack together) |
|
207 skip_undo = ( |
|
208 b'undo.backup.00changelog.i', |
|
209 b'undo.backup.00manifest.i', |
|
210 ) |
|
211 if unencoded in skip_undo: |
|
212 continue |
|
213 |
203 rl = _revlogfrompath(srcrepo, rl_type, unencoded) |
214 rl = _revlogfrompath(srcrepo, rl_type, unencoded) |
204 |
215 |
205 info = rl.storageinfo( |
216 info = rl.storageinfo( |
206 exclusivefiles=True, |
217 exclusivefiles=True, |
207 revisionscount=True, |
218 revisionscount=True, |