kfogel@collab.net wrote:
>"Erik Huelsmann" <e.huelsmann@gmx.net> writes:
>
>
>>The po files are now ready for the UTF-8 pre-commit hook. (sv.po was done in
>>r9620.)
>>
>>
>
>Thanks.
>
>Brane, I tried the hook, but it doesn't seem to block commits of
>non-UTF-8 data to files ending in ".po".
>
>Specifically, I installed the script in hooks/pre-commit of a test
>repository on svn.collab.net:
>
> REPOS="$1"
> TXN="$2"
>
> /usr/www/hook-scripts/verify-po.py ${REPOS} ${TXN}
>
> # All checks passed, so allow the commit.
> exit 0
>
>
Big surprise here, you're ignoring the exit code from verify-po.py...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 7 03:57:10 2004