Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

stable logview: prevent TypeError in on_render() function

After stripping revisions in Repo Explorer, on_render() function
is called without self.node.

Changeset 6de640f3f5a1

Parent 4bd0e4424363

by Yuki KODAMA

Changes to one file · Browse files at 6de640f3f5a1 Showing diff from parent 4bd0e4424363 Diff from another changeset...

 
169
170
171
 
 
172
173
174
 
169
170
171
172
173
174
175
176
@@ -169,6 +169,8 @@
  start, end, colour, style)     # Draw the revision node in the right column + if not self.node: + return   (column, colour, status) = self.node   arc_start_position_x = cell_area.x + box_size * column + box_size / 2;   arc_start_position_y = cell_area.y + cell_area.height / 2;