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: allow qparent to be imported into patch queue

Changeset fa025bd9f03f

Parent 687614baa31e

by Steve Borho

Changes to one file · Browse files at fa025bd9f03f Showing diff from parent 687614baa31e Diff from another changeset...

 
615
616
617
618
 
 
 
 
619
620
621
 
615
616
617
 
618
619
620
621
622
623
624
@@ -615,7 +615,10 @@
  ctx = self.repo[self.currevid]   qbase = self.repo['qbase']   actx = ctx.ancestor(qbase) - if actx == qbase or actx == ctx: + if self.repo['qparent'] == ctx: + cmenu_qimport.set_sensitive(True) + cmenu_strip.set_sensitive(False) + elif actx == qbase or actx == ctx:   # we're in the mq revision range or the mq   # is a descendant of us   cmenu_qimport.set_sensitive(False)