[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: Jeremy Bettis <jeremy_at_deadbeef.com>
Date: 2004-06-09 05:48:52 CEST

----- Original Message -----
From: "Branko Čibej" <brane@xbc.nu>
To: "Jeremy Bettis" <jeremy@deadbeef.com>
Cc: "Martin Tomes" <lists@tomes.org>; <dev@subversion.tigris.org>
Sent: Tuesday, June 08, 2004 10:20 PM
Subject: Re: pre-commit hook that stops CaSe-InSenSiTive collisions

> 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.

That's all fine and good, but I can't find any documentation on the
bindings. Also, your case a) is not relevant, since all the paths here are
examined on the server, the client doesn't come into play, also for me, all
my machines are in the same locale.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 11 05:29: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.