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

Re: pre-commit hook that stops CaSe-InSenSiTive collisions

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-09 05:20:00 CEST

Jeremy Bettis wrote:

>----- Original Message -----
>From: "Branko Čibej" <brane@xbc.nu>
>
>
>> * Why doesn't the Win32 variant open the svnlook pipe in utf8 mode?
>> I wonder if svnlook does, in fact, print utf8 paths. Hmmm... no it
>> does not. Svnlook will only write utf-8 filenames if your current
>> locale is utf-8. So much for this script then -- it won't work.
>> You should use the bindings instead.
>>
>>
>The utf8 didn't work for me with ActivePerl, so I took it out.
>
>
You're missing the point. svnlook does not output paths in utf-8.
Therefore your hook a) won't work if the server uses a different default
locale than the client (which is very probable), and b) will interpret
the paths incorrectly if it thinks they're utf-8 when they're actually not.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 9 05:21:10 2004

This is an archived mail posted to the Subversion Dev mailing list.