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

[TSVN] Re: changing log message on windows server

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-11-11 10:16:26 CET

Steven H @ orcon wrote:
> IF %PROPNAME% == %SVNLOG% GOTO :SVN_LOG
> EXIT 1

You can include an error message, but it must go to stderr. Anything
going to stdout will be discarded. eg.

IF %PROPNAME% == %SVNLOG% GOTO :SVN_LOG
ECHO Changing %PROPNAME% is not allowed >&2
EXIT 1

> post-revprop-change.bat
> SET REPOS=$1
> SET REV=$2
> SET USER=$3
> SET PROPNAME=$4
>
> EXIT 0

Also, you don't need to implement the post-revprop-change hook if it
doesn't actually do anything. Only the pre-revprop-change hook is
mandatory to avoid unintended unrecoverable changes. The post hook is
simply to allow you to send a post-change email to notify an admin, or
similar.

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 11 10:28:27 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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