Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

thgmq: remove 'Delete --keep' context menu item

'Delete' command shows the confirm dialog before deleting.

Changeset 630fbcf61006

Parent f390c0a6da90

by Yuki KODAMA

Changes to one file · Browse files at 630fbcf61006 Showing diff from parent f390c0a6da90 Diff from another changeset...

 
318
319
320
 
321
322
323
 
571
572
573
574
575
576
577
 
730
731
732
733
734
735
736
737
738
 
318
319
320
321
322
323
324
 
572
573
574
 
575
576
577
 
730
731
732
 
 
 
733
734
735
@@ -318,6 +318,7 @@
  [MQ] Execute 'qdelete' command.     patch: the patch name or an index to specify the patch. + keep: if True, use '--keep' option. (default: False)   """   if not self.has_patch():   return @@ -571,7 +572,6 @@
  append(_('_Finish Applied'), self.finish_activated)   if not is_applied and not is_qparent:   append(_('_Delete'), self.delete_activated) - append(_('Delete --keep'), self.delete_keep_activated)   if has_applied and not is_qparent:   append(_('F_old'), self.fold_activated)   if self.hasqup and not is_next: @@ -730,9 +730,6 @@
  def delete_activated(self, menuitem, row):   self.qdelete(row[MQ_NAME])   - def delete_keep_activated(self, menuitem, row): - self.qdelete(row[MQ_NAME], keep=True) -   def rename_activated(self, menuitem, row):   self.qrename_ui(row[MQ_NAME])