Show More
@@ -1945,7 +1945,7 b' class revlog(object):' | |||||
1945 | ) |
|
1945 | ) | |
1946 | except error.RevlogError: |
|
1946 | except error.RevlogError: | |
1947 | if self._censorable and storageutil.iscensoredtext(text): |
|
1947 | if self._censorable and storageutil.iscensoredtext(text): | |
1948 |
raise error.CensoredNodeError(self. |
|
1948 | raise error.CensoredNodeError(self.display_id, node, text) | |
1949 | raise |
|
1949 | raise | |
1950 |
|
1950 | |||
1951 | def _enforceinlinesize(self, tr, fp=None): |
|
1951 | def _enforceinlinesize(self, tr, fp=None): | |
@@ -2479,7 +2479,7 b' class revlog(object):' | |||||
2479 | newlen = len(delta) - hlen |
|
2479 | newlen = len(delta) - hlen | |
2480 | if delta[:hlen] != mdiff.replacediffheader(oldlen, newlen): |
|
2480 | if delta[:hlen] != mdiff.replacediffheader(oldlen, newlen): | |
2481 | raise error.CensoredBaseError( |
|
2481 | raise error.CensoredBaseError( | |
2482 |
self. |
|
2482 | self.display_id, self.node(baserev) | |
2483 | ) |
|
2483 | ) | |
2484 |
|
2484 | |||
2485 | if not flags and self._peek_iscensored(baserev, delta, flush): |
|
2485 | if not flags and self._peek_iscensored(baserev, delta, flush): |
General Comments 0
You need to be logged in to leave comments.
Login now