1.1 --- a/tortoisehg/hgtk/logview/revgraph.py Mon Sep 14 09:48:41 2009 -0500
1.2 +++ b/tortoisehg/hgtk/logview/revgraph.py Mon Sep 14 14:58:25 2009 +0200
1.3 @@ -223,14 +223,14 @@
1.4 branch_name = self._branch_name(branch_head)
1.5 rev = branch_head
1.6 while not rev in self.branch4rev:
1.7 - # Determine if rev should be used
1.8 + # Add rev to branch
1.9 + self.branch4rev[rev] = branch_head
1.10 + self.branch_tail[branch_head] = rev
1.11 + # Exit if rev is outside visible range
1.12 if not self._covered_rev(rev):
1.13 # rev is outside visible range, so we don't know tail location
1.14 self.branch_tail[branch_head] = 0 # Prev revs wasn't tail
1.15 return
1.16 - # Add rev to branch
1.17 - self.branch4rev[rev] = branch_head
1.18 - self.branch_tail[branch_head] = rev
1.19 # Find next revision in branch
1.20 self.parent_of[rev] = None
1.21 for parent in self._get_parents(rev):