Steve Borho  committed e3e5ba6

repowidget: make qdel nondestructive till we have a dialog for it

I selected 'delete' by accident from the menu today instead of 'goto'
and was not pleased at all by the results.

  • Participants
  • Parent commits 9dd1961

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

     def qdeleteRevision(self):
         """Delete unapplied patch"""
         patchname = self.repo.changectx(self.rev).thgmqpatchname()
-        cmdline = ['qdelete', str(patchname),
+        cmdline = ['qdelete', str(patchname), '--keep',
                    '--repository', self.repo.root]
         self.runCommand(_('QDelete - TortoiseHg'), cmdline)