##// END OF EJS Templates
revlog: use int instead of long...
Augie Fackler -
r31504:73aa13bc default
parent child Browse files
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 long(long(offset) << 16 | type)
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