Show More
@@ -233,18 +233,18 b' def _clonerevlogs(' | |||
|
233 | 233 | |
|
234 | 234 | # This is for the separate progress bars. |
|
235 | 235 | if rl_type & store.FILEFLAGS_CHANGELOG: |
|
236 |
changelogs[unencoded] = |
|
|
236 | changelogs[unencoded] = rl_type | |
|
237 | 237 | crevcount += len(rl) |
|
238 | 238 | csrcsize += datasize |
|
239 | 239 | crawsize += rawsize |
|
240 | 240 | elif rl_type & store.FILEFLAGS_MANIFESTLOG: |
|
241 |
manifests[unencoded] = |
|
|
241 | manifests[unencoded] = rl_type | |
|
242 | 242 | mcount += 1 |
|
243 | 243 | mrevcount += len(rl) |
|
244 | 244 | msrcsize += datasize |
|
245 | 245 | mrawsize += rawsize |
|
246 | 246 | elif rl_type & store.FILEFLAGS_FILELOG: |
|
247 |
filelogs[unencoded] = |
|
|
247 | filelogs[unencoded] = rl_type | |
|
248 | 248 | fcount += 1 |
|
249 | 249 | frevcount += len(rl) |
|
250 | 250 | fsrcsize += datasize |
@@ -289,7 +289,9 b' def _clonerevlogs(' | |||
|
289 | 289 | ) |
|
290 | 290 | ) |
|
291 | 291 | progress = srcrepo.ui.makeprogress(_(b'file revisions'), total=frevcount) |
|
292 |
for unencoded, |
|
|
292 | for unencoded, rl_type in sorted(filelogs.items()): | |
|
293 | oldrl = _revlogfrompath(srcrepo, rl_type, unencoded) | |
|
294 | ||
|
293 | 295 | newrl = _perform_clone( |
|
294 | 296 | ui, |
|
295 | 297 | dstrepo, |
@@ -329,7 +331,8 b' def _clonerevlogs(' | |||
|
329 | 331 | progress = srcrepo.ui.makeprogress( |
|
330 | 332 | _(b'manifest revisions'), total=mrevcount |
|
331 | 333 | ) |
|
332 |
for unencoded, |
|
|
334 | for unencoded, rl_type in sorted(manifests.items()): | |
|
335 | oldrl = _revlogfrompath(srcrepo, rl_type, unencoded) | |
|
333 | 336 | newrl = _perform_clone( |
|
334 | 337 | ui, |
|
335 | 338 | dstrepo, |
@@ -368,7 +371,8 b' def _clonerevlogs(' | |||
|
368 | 371 | progress = srcrepo.ui.makeprogress( |
|
369 | 372 | _(b'changelog revisions'), total=crevcount |
|
370 | 373 | ) |
|
371 |
for unencoded, |
|
|
374 | for unencoded, rl_type in sorted(changelogs.items()): | |
|
375 | oldrl = _revlogfrompath(srcrepo, rl_type, unencoded) | |
|
372 | 376 | newrl = _perform_clone( |
|
373 | 377 | ui, |
|
374 | 378 | dstrepo, |
General Comments 0
You need to be logged in to leave comments.
Login now