[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r9622 - trunk/subversion/po

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-07 03:55:30 CEST

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

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.