equal
deleted
inserted
replaced
407 return self._branchinfo(rev) |
407 return self._branchinfo(rev) |
408 |
408 |
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 |
416 if cachenode == '\0\0\0\0': |
416 if cachenode == '\0\0\0\0': |
417 pass |
417 pass |