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

RE: RE: hook script error messages

From: Falk, Timo <Falk_at_neumag.de>
Date: 2004-06-04 08:07:27 CEST

> From: Lübbe Onken [mailto:l.onken@rac.de]

[..]

> > Is there a way to set the error message that comes back to
> > the client
> > when a (pre-commit) hook script fails?
>
> Yes, inside the script do something like:
>
> --- SNIP ---
> if [ -z "$LOGMSG" ];
> then
> echo -e "\nEmpty log message not allowed. Commit aborted!" 1>&2
> exit 1
> fi
> --- SNIP ---

Hmm, this looks like perl... How can I set the errormessage from a windows-batch-file?
I can not install perl on the server....

Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 08:08:50 2004

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.