CCommitDlg::OnOK - cancelling the TaskDialog after CheckCommit leads into an unwanted commit

Jens Wilhelm <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <563149710.1350.1473250106165.JavaMail.httpd@localhost>
Hi,
testing a check_commit_hook - script I found an unexpected behaviar of the commit dialog.
My script returns an error and the dialog shows the errormessage. If I press abort, things go in the expected way. But if I press Esc on keyboard, commit is proceeding. I would say, this is an error. 
In source I found that abort is done on a return value of 1 only (taskdlg.DoModal). Wouldn't it be better, only to proceed committing if the return value is 2?

Regards,
Willi

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3185034

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.