mercurial/branchmap.py
changeset 32281 c34532365b38
parent 32181 b98ee1a808bd
child 33534 2715a4fc0684
--- a/mercurial/branchmap.py	Sat May 13 11:55:39 2017 -0700
+++ b/mercurial/branchmap.py	Sat May 13 11:58:08 2017 -0700
@@ -406,8 +406,7 @@
 
         # fast path: extract data from cache, use it if node is matching
         reponode = changelog.node(rev)[:_rbcnodelen]
-        cachenode, branchidx = unpack_from(
-            _rbcrecfmt, util.buffer(self._rbcrevs), rbcrevidx)
+        cachenode, branchidx = unpack_from(_rbcrecfmt, self._rbcrevs, rbcrevidx)
         close = bool(branchidx & _rbccloseflag)
         if close:
             branchidx &= _rbcbranchidxmask