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