RE: SVN lock at version 1.8.3 and 1.8.4 - not working
From: Kovar, Vaclav (EOM) <Vaclav.Kovar_at_skoda-auto.cz>
Date: Wed, 27 Nov 2013 14:17:59 +0000
>If your script really has 'echo off' and not '@echo off' then your script produces output. And you should check the documentation on how that is handled for the specific hooks. For pre-lock this has side effects:
Sorry, my mistake, you are correct. I corrected it to " @echo off".
I tested it 5 minutes ago, same result for either "@echo off" or "echo off":
- during commit all 3 hooks are executed, commit is successfull
> What operation did you perform to test the lock hook?
Yes. I used testing SVN instance on my machine, so SVN bin is not on the PATH.
Copied/pasted:
C:\work\dzcvk82\svn_views\test6\test001>dir
Výpis adresáře C:\work\dzcvk82\svn_views\test6\test001
27.11.2013 15:05 <DIR> .
C:\work\dzcvk82\svn_views\test6\test001>c:\software\Subversion\bin\svn.exe lock testfile.txt
C:\work\dzcvk82\svn_views\test6\test001>
</code>
Perhaps the the lock fails before the hook execution.
Vena Kovar
|
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.