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

[TSVN] tortoise online help

From: Roel Harbers <roel_at_roelharbers.nl>
Date: 2005-01-25 14:43:04 CET

Hi,

The online tsvn help at
http://tortoisesvn.tigris.org/docs/TortoiseSVN_en/help-onepage.html
contains the following example repository hook:

rem Only allow log messages to be changed.
if "%4%" = "svn:log" then exit 0
echo Property %4% cannot be changed >&2
exit 1

My batch scripting may be a little rusty, but I'm pretty sure that's not
going to work. It should be something like:

rem Only allow log messages to be changed.
if "%4"=="svn:log" exit 0
echo Property %4 cannot be changed >&2
exit 1

(note the == instead of =, and the absense of then)

Regards,

Roel Harbers

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 25 14:43:50 2005

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.