[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: Alexander Klenin <klenin_at_gmail.com>
Date: 2006-10-20 03:20:08 CEST

On 10/20/06, Steve Williams <stevewilliams@kromestudios.com> wrote:
> Alexander Klenin wrote:
> > 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.
Surely I will, but it is a good thing to show a user an error message
when something went wrong, to just the blank window ;-)
BTW, I think it will be helpful to diaplay the actual exit code in such a case.

> > 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.
This is because on the SVN server the existance of the hook is
determined by the existence of the script. TSVN works differently,
however.

> 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.
I know this ;-) But these are not the hooks I am talking about.

-- 
Alexander S. Klenin
Insight Experts Ltd.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 20 03:20:22 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.