visualsvn server - Visual SVN "post-commit hook failed (exit code 1)" -
i trying write svn post-commit hook update remote working copy when commit made specific branch. should pretty simple getting cleanup warning.
here hook
"%visualsvn_server%bin\svnlook.exe" dirs-changed %1 -r %2 | findstr "branches/dev" if %errorlevel% equ 0 ( "%visualsvn_server%bin\svn.exe" update c:\temp\dev2 )
and failing following:
post-commit hook failed (exit code 1) output: svn: e155004: run 'svn cleanup' remove locks (type 'svn cleanup' details) svn: e155004: working copy 'c:\temp\dev2' locked svn: e200031: sqlite: attempt write readonly database (s8) svn: e200031: additional errors: svn: e200031: sqlite: attempt write readonly database (s8)
but there no locks nor clean up--i'm not touching 'dev2' working copy. running vsvn version 2.7.6, subversion 1.8 on windows server 2k8 r2
i have tried permissions changes , hard coding own svn credentials.
edit: tried using full path visualsvn's svn tools. setup, got "svn cleanup" error. when did (just fun) commit hangs ever...seems maybe svn update trying prompt user.
turns out needed --non-interactive
flag.
this paste useful.
Comments
Post a Comment