D330: Backed out changeset c34532365b38
glandium (Mike Hommey)
phabricator at mercurial-scm.org
Thu Aug 10 23:49:37 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1814ca418b30: branchmap: revert c34532365b38 for Python 2.7 compatibility (authored by glandium).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D330?vs=752&id=755
REVISION DETAIL
https://phab.mercurial-scm.org/D330
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -406,7 +406,8 @@
# fast path: extract data from cache, use it if node is matching
reponode = changelog.node(rev)[:_rbcnodelen]
- cachenode, branchidx = unpack_from(_rbcrecfmt, self._rbcrevs, rbcrevidx)
+ cachenode, branchidx = unpack_from(
+ _rbcrecfmt, util.buffer(self._rbcrevs), rbcrevidx)
close = bool(branchidx & _rbccloseflag)
if close:
branchidx &= _rbcbranchidxmask
To: glandium, #hg-reviewers, quark, indygreg
Cc: indygreg, quark, mercurial-devel
More information about the Mercurial-devel
mailing list