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

Re: TortoiseSVN hooks parameters and error messages

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2006-10-20 02:40:17 CEST

Alexander Klenin wrote:
> I have tried to use new TSVN commit hooks, and have several suggestions:
>
> 1) It seems that returning non-zero value from pre-commit hook cancels
> the commit.
> This is a good thing, however, when the hook does not output anything
> to stderr, some kind of note in commit dialog would be nice.
> Right now it simply displays empty dialog with "Finished!" caption.
>
Fix the hook to always output an appropriate error message.

> 4) If pre-operation hook file is not found, operation proceeds anyway.
> I am not sure if it is the right thing to do, probably at least a
> warning would be prudent.
>

The hooks are optional. If they don't exist, they don't stop the process.

Remember that the hooks are executed by the Subversion server, not the
Subversion client. The server may be on a remote machine thousands of
miles away. TortoiseSVN is a Subversion client.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 20 02:40:56 2006

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.