Hello,

we just tried to update subversion from 1.7.10 to 1.8.5, but after the upgrade 
a non zero exit code from our pre commit script is no longer recognized.

Minimal example to recreate the error:
System: Windows 7, Subversion command line client 1.8.5
1. Create a svn repository in a folder on your filesystem
2. Create a hook script in the hook folder of the repository (called 
"pre-commit.bat"), which always gives a non zero return value:
------
@echo off
set ERRLEV=1
echo pre-commit.bat > con
echo Er: %ERRLEV% > con
pause < con > con
exit /b %ERRLEV%
------
3. Create a working copy from that repository (using the file:/// syntax)
4. Add a new file to svn and commit the changes
5. The file gets transferred to the repository, ignoring the non zero return 
value from the pre commit scipt

If you do the same thing with subversion 1.7.10 the commit is stopped and an 
error messages is displayed.

Did I miss something or is this a bug?

Regards,
Karl

Reply via email to