##// 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 b' class revbranchcache(object):'
406 406
407 407 # fast path: extract data from cache, use it if node is matching
408 408 reponode = changelog.node(rev)[:_rbcnodelen]
409 cachenode, branchidx = unpack_from(
410 _rbcrecfmt, util.buffer(self._rbcrevs), rbcrevidx)
409 cachenode, branchidx = unpack_from(_rbcrecfmt, self._rbcrevs, rbcrevidx)
411 410 close = bool(branchidx & _rbccloseflag)
412 411 if close:
413 412 branchidx &= _rbcbranchidxmask
General Comments 0
You need to be logged in to leave comments. Login now