Return code of pre-revprop-change hook ignored in some cases
From: Juanma Barranquero <jmbarranquero_at_wke.es>
Date: 2004-02-13 15:14:04 CET
Using SVN 0.37.0 on a Windows 2K.
I have the following simple .BAT with an embedded perl script:
--------------- example starts here -----------------
The intent is to use it as a pre-revprop-change hook (obviously, in real
I create a repo, commit a single change, and put this script in hooks/
Test 1:
C:\> svnserve -d -r c:\repo\test
[In another CMD.EXE window:]
(which seems correct; it's returning 1)
Test 2:
(No server)
C:\> svn propset svn:log --revprop -r 1 "Test" file:///C:/repo/test/
(again, that's right)
Test 3:
<Location /svn>
AuthType Basic
<LimitExcept GET PROPFIND OPTIONS REPORT>
C:\> svn propset svn:log --revprop -r 1 "Test" http://localhost/svn/
What's that? An artifact of the way the .BAT hook is executed by the
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.