Commits

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.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repowidget.py

     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)