1400
1400
self.a_key = self._key_prefix + (self.a_rev,)
1401
1401
self.b_key = self._key_prefix + (self.b_rev,)
1402
1402
self.graph = Graph(self.vf)
1403
# heads = self.graph.heads((self.a_key, self.b_key))
1404
# if len(heads) == 1:
1405
# # one side dominates, so we can just return its values, yay for
1407
# # Ideally we would know that before we get this far
1408
# self._head_key = heads.pop()
1409
# if self._head_key == self.a_key:
1413
# mutter('found dominating revision for %s\n%s > %s', self.vf,
1414
# self._head_key[-1], other)
1415
# self._weave = None
1417
self._head_key = None
1403
heads = self.graph.heads((self.a_key, self.b_key))
1405
# one side dominates, so we can just return its values, yay for
1407
# Ideally we would know that before we get this far
1408
self._head_key = heads.pop()
1409
if self._head_key == self.a_key:
1413
mutter('found dominating revision for %s\n%s > %s', self.vf,
1414
self._head_key[-1], other)
1417
self._head_key = None
1420
1420
def _precache_tip_lines(self):
1421
1421
# Turn this into a no-op, because we will do this later