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: clear branch combo when 'all' filter chosen

Otherwise the branch combo contents is not a consistent indicator
of the changesets you are seeing.

Changeset 7a6fc5821d9c

Parent f94055bc4b2d

by Steve Borho

Changes to one file · Browse files at 7a6fc5821d9c Showing diff from parent f94055bc4b2d Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​history.py Stacked
 
340
341
342
 
343
344
345
 
476
477
478
 
479
480
481
 
340
341
342
343
344
345
346
 
477
478
479
480
481
482
483
@@ -340,6 +340,7 @@
  else:   self.graphview.refresh(False, self.pats, self.opts)   elif self.filter == 'all': + self.branchcombo.set_active(-1)   self.graphview.refresh(True, None, self.opts)   elif self.filter == 'new':   self.opts['revrange'] = [len(self.repo)-1, self.origtip] @@ -476,6 +477,7 @@
  branchcombo.append_text(name)   branchcombo.connect('changed', self.select_branch)   filterbox.pack_start(branchcombo, False) + self.branchcombo = branchcombo     all = gtk.RadioButton(None, _('all'))   all.set_active(True)