Show More
@@ -29,8 +29,6 b' class LookupError(RevlogError):' | |||
|
29 | 29 | pass |
|
30 | 30 | |
|
31 | 31 | def getoffset(q): |
|
32 | if q & 0xFFFF: | |
|
33 | raise RevlogError(_('incompatible revision flag %x') % q) | |
|
34 | 32 | return int(q >> 16) |
|
35 | 33 | |
|
36 | 34 | def gettype(q): |
@@ -907,6 +905,10 b' class revlog(object):' | |||
|
907 | 905 | rev = self.rev(node) |
|
908 | 906 | base = self.base(rev) |
|
909 | 907 | |
|
908 | # check rev flags | |
|
909 | if self.index[rev][0] & 0xFFFF: | |
|
910 | raise RevlogError(_('incompatible revision flag %x') % q) | |
|
911 | ||
|
910 | 912 | if self._inline: |
|
911 | 913 | # we probably have the whole chunk cached |
|
912 | 914 | df = None |
General Comments 0
You need to be logged in to leave comments.
Login now