##// END OF EJS Templates
branchmap: remove use of buffer() to support Python 2.6...
Gregory Szorc -
r32281:c3453236 default
parent child Browse files
Show More
@@ -406,8 +406,7 class revbranchcache(object):
406
406
407 # fast path: extract data from cache, use it if node is matching
407 # fast path: extract data from cache, use it if node is matching
408 reponode = changelog.node(rev)[:_rbcnodelen]
408 reponode = changelog.node(rev)[:_rbcnodelen]
409 cachenode, branchidx = unpack_from(
409 cachenode, branchidx = unpack_from(_rbcrecfmt, self._rbcrevs, rbcrevidx)
410 _rbcrecfmt, util.buffer(self._rbcrevs), rbcrevidx)
411 close = bool(branchidx & _rbccloseflag)
410 close = bool(branchidx & _rbccloseflag)
412 if close:
411 if close:
413 branchidx &= _rbcbranchidxmask
412 branchidx &= _rbcbranchidxmask
General Comments 0
You need to be logged in to leave comments. Login now