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

Re: Hook script doesn't work

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-07-12 14:16:17 CEST

On 7/12/05, CÚlio Cidral Junior <ccidral.newsbox@gmail.com> wrote:
> Oh, I forgot it. Sorry :-P ... You can see it now.
>
> 2005/7/12, Norbert Unterberg <nunterberg@gmail.com>:
> > 2005/7/12, CÚlio Cidral Junior <ccidral.newsbox@gmail.com>:
> >
> > > The
> > > hook script is attached (note that I removed the .bat extension
> > > because of anti-virus mail blocking).
> >
> > Hmm, where is the hook script? There is no script attached to your mail.
> >

Used your batch file and for me it works just fine. The only thing
missing is that the error message is echoed to stdout instead of
stderr. Only text on stderr is forwarded to the client.

Add >&2 like this to echo to stderr:
echo Property '%PROPNAME%' cannot be changed. >&2

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 12 14:17:56 2005

This is an archived mail posted to the Subversion Users mailing list.

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