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

[TSVN] Re: Documentation Bug in chapter 3.5 - Hooks

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-01-26 13:22:51 CET

Norbert Unterberg wrote:
> The sample hook to allow log changes in chapter 3.5 does not work,
> here is a working version:
>
> ---snip----pre-revprop-change.cmd---
> rem Only allow log messages to be changed.
> if "%4" == "svn:log" exit 0
> echo Property %4 cannot be changed >&2
> exit 1
> ---snip----

Thanks Norbert, but you're 1 day too late.

Roel Harbers wrote yesterday:
> 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:

And it is now fixed as you both suggested :-)

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 26 13:24:35 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.