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

Re: [TSVN] how to change log message in local repository

From: D'Arcy Rittich <drittich_at_gmail.com>
Date: 2005-04-10 22:58:41 CEST

>
> No. You only need pre-revprop-change.bat which has to return exit code 0
> if the action should be allowed and 1 if not.
> Here is my pre-revprop-change.bat hook script for use on Windows:
>
> [snip]
>
> set SVN_REPOS=%1
> set SVN_REV=%2
> set SVN_USER=%3
> set SVN_PROPNAME=%4
>
> IF "%SVN_PROPNAME%" == "svn:log" exit 0
> REM uncomment this if you also want to allow changing of author
> REM IF "%SVN_PROPNAME%" == "svn:author" exit 0
>
> echo Property %SVN_PROPNAME% cannot be changed >&2
> exit 1
>
> [snap]
>
> HTH, Rainer
>
>
>
Hmm, mine works fine with zero-byte files.
Received on Sun Apr 10 22:58:57 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.