Show More
@@ -72,6 +72,8 b' def gettype(q):' | |||||
72 | return int(q & 0xFFFF) |
|
72 | return int(q & 0xFFFF) | |
73 |
|
73 | |||
74 | def offset_type(offset, type): |
|
74 | def offset_type(offset, type): | |
|
75 | if (type & ~REVIDX_KNOWN_FLAGS) != 0: | |||
|
76 | raise ValueError('unknown revlog index flags') | |||
75 | return long(long(offset) << 16 | type) |
|
77 | return long(long(offset) << 16 | type) | |
76 |
|
78 | |||
77 | _nullhash = hashlib.sha1(nullid) |
|
79 | _nullhash = hashlib.sha1(nullid) |
General Comments 0
You need to be logged in to leave comments.
Login now