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

Change Property in Pre-Commit-Hook

From: Oliver Kopf <oliver.kopf_at_kopfweb.de>
Date: 2006-02-16 18:00:58 CET

I want to change the property KOPF:TestDate to a default if the contents of
the file has changed before the commit was executed. For this purpose I have
created the following batch file:
pre-commit.bat:
set REPOS=%1
set TXN=%2
...
svn propset KOPF:TestDate 2004-04-04 %TXN% >> Commit_Log.txt
...

But the property isn't changed and in the Commit_Log file I get no error ! I
have also checked with the option --force but it's the same.

What wrong ?

Testinstallation of SVN is running on Win32.

Oliver Kopf
Received on Thu Feb 16 18:29:00 2006

This is an archived mail posted to the Subversion Users mailing list.

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