Show More
@@ -480,11 +480,13 def _copyrevlogs(ui, srcrepo, dstrepo, t | |||||
480 | mrevcount += len(rl) |
|
480 | mrevcount += len(rl) | |
481 | msrcsize += datasize |
|
481 | msrcsize += datasize | |
482 | mrawsize += rawsize |
|
482 | mrawsize += rawsize | |
483 |
elif isinstance(rl, |
|
483 | elif isinstance(rl, filelog.filelog): | |
484 | fcount += 1 |
|
484 | fcount += 1 | |
485 | frevcount += len(rl) |
|
485 | frevcount += len(rl) | |
486 | fsrcsize += datasize |
|
486 | fsrcsize += datasize | |
487 | frawsize += rawsize |
|
487 | frawsize += rawsize | |
|
488 | else: | |||
|
489 | error.ProgrammingError('unknown revlog type') | |||
488 |
|
490 | |||
489 | if not revcount: |
|
491 | if not revcount: | |
490 | return |
|
492 | return |
General Comments 0
You need to be logged in to leave comments.
Login now