Fold patches should check for local changes first

Issue #3342 open
Anonymous created an issue

Currently, it's like this: 1) From the workbench, I right click on a patch and select "Fold patches..." 2) A dialog appears where I edit a new patch message 3) I click OK and either the patches are folded successfully, OR it fails because there are local changes in my working directory. In that case I lose the new patch message.

It would be nicer like if I either was immediately informed about the local changes before I start editing the new patch message, OR if I the dialog stayed open (non-modal) so I can refresh/cleanup my local state and retry the folding without losing the new patch message.