[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Suggestion: the characters that do not allow committing.

From: Serge Tumanyan <tumanyan_at_mail.ru>
Date: Sun, 5 Sep 2010 16:12:39 +0400

Hello, Jean-Marc.

>>> 2. There is no ability to prevent a commit/import/branching with an
>>> error
>>> message and returning back to commit/import/branching dialogue or at
>>> least I
>>> was unable to find this in the documentation.
>> Yes, there is: write any error text to the console error stream and
>> return something else than 0 as the exit code of your hook script.
> I have played a bit with this and encountered some additional problems
> here:
> 1. Returning a non-zero result works as expected in terms of stopping the
> commit process, but I am getting the dialogue with the commit error and
> nothing else - commit dialogue is not opened again for fixing the problem
> in
> a comment.
TSVN Settings, General->Dialog 2: 'Reopen commit and branch/tag dialog
after a commit failed'

Thank you, missed this setting somehow, I shall play with it.

> 4. There is no ability to get the non-committed message that was discarded
> to insert it back into the dialogue that was broken before for the user to
> modify it to the correct state.
Yes, check the 'recent messages' button on the commit window, it
should have the latest commit messages, also for failed commits.

I would like to insert this message back to the commit dialogue myself for
the user convenience, but seems that I have found the way to solve this
myself at last.

Thank you.

Serge.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-05 14:22:42 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.