Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

repowidget: switch to mq tab when clicking on latest applied patch

Changeset 001c91cb2092

Parent bb225e47ffb7

by André Sintzoff

Changes to one file · Browse files at 001c91cb2092 Showing diff from parent bb225e47ffb7 Diff from another changeset...

 
688
689
690
 
691
692
693
 
 
 
694
695
696
 
688
689
690
691
692
693
694
695
696
697
698
699
700
@@ -688,9 +688,13 @@
  manifestidx = self.namedTabs['manifest']   if tw.currentIndex() == manifestidx:   return # don't switch tabs if we are in manifest mode + ctx = self.repo.changectx(rev)   if rev is None:   # Clicking on working copy switches to commit tab   tw.setCurrentIndex(self.commitTabIndex) + elif 'mq' in self.repo.extensions() and 'qtip' in ctx.tags(): + # Clicking on latest applied patch switches to mq tab + tw.setCurrentIndex(self.mqTabIndex)   else:   # Clicking on a normal revision switches from commit tab   tw.setCurrentIndex(self.logTabIndex)