[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: Jacky Chan <jacky11287_at_gmail.com>
Date: 2007-03-07 05:33:54 CET

Dear Peter & Ryan,

I tried yours suggestion, it works fine and very good.
My SVN client is subversive, and I found that only among the 3 SVN
programming clients it provides, they are

# Native JavaHL
# JavaSVN
# Subversive Default

JavaSVN doesn't display the error message from the pre-commit hook script on
the eclipse console.

Subversive Default displays the error message on the eclipse console, but no
error message box comes out.

Native JavaHL not only displays the error message on the eclipse console,
but also display they error message box.

I choose Native JavaHL in the subversive client settings.

Hope it helps and thank for all of your help. ^.^

2007/3/7, Ryan Schmidt <subversion-2007a@ryandesign.com>:
>
>
> 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
> function
>
>
>

-- 
Yours Sincerely,
Jacky Chan
Received on Wed Mar 7 05:34:24 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.