Show More
@@ -81,7 +81,7 b' class filelog(object):' | |||
|
81 | 81 | def iscensored(self, rev): |
|
82 | 82 | return self._revlog.iscensored(rev) |
|
83 | 83 | |
|
84 | # Used by verify. | |
|
84 | # Used by repo upgrade, verify. | |
|
85 | 85 | def rawsize(self, rev): |
|
86 | 86 | return self._revlog.rawsize(rev) |
|
87 | 87 |
@@ -491,10 +491,7 b' def _copyrevlogs(ui, srcrepo, dstrepo, t' | |||
|
491 | 491 | for path in rl.files(): |
|
492 | 492 | datasize += rl.opener.stat(path).st_size |
|
493 | 493 | |
|
494 | idx = rl.index | |
|
495 | for rev in rl: | |
|
496 | e = idx[rev] | |
|
497 | rawsize += e[2] | |
|
494 | rawsize += sum(map(rl.rawsize, iter(rl))) | |
|
498 | 495 | |
|
499 | 496 | srcsize += datasize |
|
500 | 497 | srcrawsize += rawsize |
General Comments 0
You need to be logged in to leave comments.
Login now