Show More
@@ -554,9 +554,11 b' def _copyrevlogs(ui, srcrepo, dstrepo, t' | |||||
554 | crawsize = 0 |
|
554 | crawsize = 0 | |
555 | cdstsize = 0 |
|
555 | cdstsize = 0 | |
556 |
|
556 | |||
|
557 | alldatafiles = list(srcrepo.store.walk()) | |||
|
558 | ||||
557 | # Perform a pass to collect metadata. This validates we can open all |
|
559 | # Perform a pass to collect metadata. This validates we can open all | |
558 | # source files and allows a unified progress bar to be displayed. |
|
560 | # source files and allows a unified progress bar to be displayed. | |
559 |
for unencoded, encoded, size in |
|
561 | for unencoded, encoded, size in alldatafiles: | |
560 | if unencoded.endswith('.d'): |
|
562 | if unencoded.endswith('.d'): | |
561 | continue |
|
563 | continue | |
562 |
|
564 | |||
@@ -607,7 +609,7 b' def _copyrevlogs(ui, srcrepo, dstrepo, t' | |||||
607 | # Do the actual copying. |
|
609 | # Do the actual copying. | |
608 | # FUTURE this operation can be farmed off to worker processes. |
|
610 | # FUTURE this operation can be farmed off to worker processes. | |
609 | seen = set() |
|
611 | seen = set() | |
610 |
for unencoded, encoded, size in |
|
612 | for unencoded, encoded, size in alldatafiles: | |
611 | if unencoded.endswith('.d'): |
|
613 | if unencoded.endswith('.d'): | |
612 | continue |
|
614 | continue | |
613 |
|
615 |
General Comments 0
You need to be logged in to leave comments.
Login now