##// END OF EJS Templates
branchmap: don't use buffer() on Python 3...
Augie Fackler -
r31347:279430ee default
parent child Browse files
Show More
@@ -409,7 +409,7 b' class revbranchcache(object):'
409 # fast path: extract data from cache, use it if node is matching
409 # fast path: extract data from cache, use it if node is matching
410 reponode = changelog.node(rev)[:_rbcnodelen]
410 reponode = changelog.node(rev)[:_rbcnodelen]
411 cachenode, branchidx = unpack(
411 cachenode, branchidx = unpack(
412 _rbcrecfmt, buffer(self._rbcrevs, rbcrevidx, _rbcrecsize))
412 _rbcrecfmt, util.buffer(self._rbcrevs, rbcrevidx, _rbcrecsize))
413 close = bool(branchidx & _rbccloseflag)
413 close = bool(branchidx & _rbccloseflag)
414 if close:
414 if close:
415 branchidx &= _rbcbranchidxmask
415 branchidx &= _rbcbranchidxmask
General Comments 0
You need to be logged in to leave comments. Login now