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