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

Re: Restrict Commit Files Types

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-07 05:09:06 CET

On Mar 6, 2007, at 07:22, Peter MŁnster wrote:

> On Tue, 6 Mar 2007, Jacky Chan wrote:
>> But I need to return to the client for the violation, I am writing
>> with bash
>> shell script.
>> How can I return the error message to the STDERR? Since the
>> examples in
>> subversion official site are written in python or perl.
> For example:
> echo "$0: wrong file type." 1>&2

Also, don't forget to exit with a nonzero return value, otherwise the
stderr text won't be sent to the client:

echo "$0: wrong file type." 1>&2
exit 1

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 7 05:09:52 2007

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.