Show More
@@ -117,7 +117,7 b' def gettype(q):' | |||||
117 | def offset_type(offset, type): |
|
117 | def offset_type(offset, type): | |
118 | if (type & ~REVIDX_KNOWN_FLAGS) != 0: |
|
118 | if (type & ~REVIDX_KNOWN_FLAGS) != 0: | |
119 | raise ValueError('unknown revlog index flags') |
|
119 | raise ValueError('unknown revlog index flags') | |
120 |
return |
|
120 | return int(int(offset) << 16 | type) | |
121 |
|
121 | |||
122 | _nullhash = hashlib.sha1(nullid) |
|
122 | _nullhash = hashlib.sha1(nullid) | |
123 |
|
123 |
General Comments 0
You need to be logged in to leave comments.
Login now