equal
deleted
inserted
replaced
478 # the cache was bypassing itself by setting: |
478 # the cache was bypassing itself by setting: |
479 # |
479 # |
480 # self.branchinfo = self._branchinfo |
480 # self.branchinfo = self._branchinfo |
481 # |
481 # |
482 # Since we now have data in the cache, we need to drop this bypassing. |
482 # Since we now have data in the cache, we need to drop this bypassing. |
483 if 'branchinfo' in vars(self): |
483 if r'branchinfo' in vars(self): |
484 del self.branchinfo |
484 del self.branchinfo |
485 |
485 |
486 def _setcachedata(self, rev, node, branchidx): |
486 def _setcachedata(self, rev, node, branchidx): |
487 """Writes the node's branch data to the in-memory cache data.""" |
487 """Writes the node's branch data to the in-memory cache data.""" |
488 if rev == nullrev: |
488 if rev == nullrev: |