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

stable thgmq: confirm fold before performing

fixes #620

Changeset 0a34badb9206

Parent c7a4c72610a7

by Yuki KODAMA

Changes to one file · Browse files at 0a34badb9206 Showing diff from parent c7a4c72610a7 Diff from another changeset...

 
404
405
406
 
 
 
 
407
408
409
 
404
405
406
407
408
409
410
411
412
413
@@ -404,6 +404,10 @@
  """   if not patch or not self.has_applied():   return + ret = gdialog.Confirm(_('Confirm Fold'), [], None, + _('Do you want to fold?')).run() + if ret != gtk.RESPONSE_YES: + return   cmdline = ['hg', 'qfold', patch]   self.cmd.execute(cmdline, self.cmd_done)