Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: fix branch color toggle

Changeset cfb80e6046c1

Parent 2bcd8acf771e

by Steve Borho

Changes to one file · Browse files at cfb80e6046c1 Showing diff from parent 2bcd8acf771e Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​history.py Stacked
 
143
144
145
 
146
147
148
 
256
257
258
 
259
260
261
 
143
144
145
146
147
148
149
 
257
258
259
260
261
262
263
@@ -143,6 +143,7 @@
  def toggle_branchcolor(self, button):   active = button.get_active()   if self.branch_color != active: + self.graphview.set_property('branch-color', active)   self.branch_color = active   self.reload_log()   @@ -256,6 +257,7 @@
  os.chdir(root) # for paths relative to repo root     self.origtip = self.opts['orig-tip'] or len(self.repo) + self.graphview.set_property('branch-color', self.branch_color)     # ignore file patterns that imply repo root   if len(self.pats) == 1 and self.pats[0] in (root, root+os.sep, ''):