SourceForge: tortoisehg/tortoisehg: changeset 3937:4414e41c6375
logview: Fix bug in compact graph
authorPeer Sommerlund <peso@users.sourceforge.net>
Thu Sep 10 13:37:28 2009 +0200 (2 months ago)
changeset 39374414e41c6375
parent 39362fd6e63dbd17
child 393805a9ce1e6050
logview: Fix bug in compact graph

If a parent is ouside the covered range, it would cause an
assertion error.
hggtk/logview/revgraph.py
     1.1 --- a/hggtk/logview/revgraph.py	Thu Sep 10 10:27:38 2009 +0200
     1.2 +++ b/hggtk/logview/revgraph.py	Thu Sep 10 13:37:28 2009 +0200
     1.3 @@ -216,7 +216,6 @@
     1.4          """Mark all unknown revisions in range that are direct ancestors
     1.5          of branch_head as part of the same branch. Stops when stop_rev
     1.6          is passed or a known revision is found"""
     1.7 -        assert self._covered_rev(branch_head)
     1.8          assert not branch_head in self.branch4rev
     1.9          self.color4branch[branch_head] = self.nextcolor
    1.10          self.nextcolor += 1