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

Typo in skript template

From: Thomas <pt_at_meiko.de>
Date: 2005-12-28 21:19:44 CET

In the TortoiseSVN helpfile (4.3) the hook skript for a pre-revprop-change in a
Windows environment is given as a sample like this:

rem Nur Änderungen an Log-Meldungen zulassen.
if "%4" == "svn:log" exit 0
echo Eigenschaft '%4' kann nicht geändert werden >&2
exit 1

The problem is, that obviously the params numbered on the base of zero, so that
the correct version is:

rem Nur Änderungen an Log-Meldungen zulassen.
if "%3" == "svn:log" exit 0
echo Eigenschaft '%3' kann nicht geändert werden >&2
exit 1

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 30 10:51:13 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.