Lukas,
You need to redirect the output to stderr, under "bash" (default shell
on Linux), use something like:
echo "Commit Access not granted:" >&2
Cheers,
Olivier.
Lukas Ruf wrote:
>Dear all,
>
>I would like to mention the problem why a transaction failed.
>
>After some fiddling around, I managed to configure
>commit-access-control.cfg appropriately such that when called from
>pre-commit commit-access-control.pl either allows writing or refuses.
>
>This results in an transaction report as follows:
> !81> svn commit -m write_lock Makefile
> Sending Makefile
> Transmitting file data .svn: Commit failed (details follow):
> svn: MERGE request failed on $DAV_PATH/'linux/2.4/upstream_tags/2.4.25'
> svn:
> 'pre-commit' hook failed with error output:
>
>
>I tried to add to pre-commit:
>
> if [ "$?" = "1" ]; then
> echo "Commit Access not granted:"
> exit 1
> fi
>
>But without success....
>
>Although only manicure, I would appreciate very much if anybody could
>help me to understand how an explanatory message can be given back.
>
>Thanks in advance!
>
>wbr,
>Lukas
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 15 16:55:44 2004