[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: <kfogel_at_collab.net>
Date: 2004-05-06 23:46:47 CEST

"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

Then I checkout out the empty repos, added some files, some of whom
ended in .po and some which didn't.

One, named "try.po", was actually a copy of /bin/ls. I assume /bin/ls
would not pass the is-utf8 test (?). I added a space to the front of
the file, and committed, and the commit succeeded.

As far as I know, we must have Python bindings on svn.collab.net,
because we use mailer.py.

Do you need more data than this?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 7 01:01:09 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.