Show More
@@ -202,10 +202,10 b' class filelog(object):' | |||||
202 |
|
202 | |||
203 | # for revisions with renames, we have to go the slow way |
|
203 | # for revisions with renames, we have to go the slow way | |
204 | node = self.node(rev) |
|
204 | node = self.node(rev) | |
|
205 | if self.iscensored(rev): | |||
|
206 | return 0 | |||
205 | if self.renamed(node): |
|
207 | if self.renamed(node): | |
206 | return len(self.read(node)) |
|
208 | return len(self.read(node)) | |
207 | if self.iscensored(rev): |
|
|||
208 | return 0 |
|
|||
209 |
|
209 | |||
210 | # XXX if self.read(node).startswith("\1\n"), this returns (size+4) |
|
210 | # XXX if self.read(node).startswith("\1\n"), this returns (size+4) | |
211 | return self._revlog.size(rev) |
|
211 | return self._revlog.size(rev) |
@@ -19,5 +19,4 b'' | |||||
19 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
19 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
20 | $ cat target |
|
20 | $ cat target | |
21 | $ hg update tip |
|
21 | $ hg update tip | |
22 | abort: file censored data/target:b1c12cf98dc8 (known-bad-output !) |
|
22 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
23 | [255] |
|
General Comments 0
You need to be logged in to leave comments.
Login now