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

pre-commit hook that stops CaSe-InSenSiTive collisions

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-06-10 12:56:08 CEST

I have made some progress with getting check-case-insensitive.pl to work with utf8 properly. I have
added 'use encoding "utf8"' and set the LANG environment variable to 'en_GB.UTF-8', this gets
svnlook to output utf8 and perl to understand it, including correct case folding.

I needed to put a hack in the perl script which makes the lc() function work correctly. $newfile is
my added file, to make everything work I have to put:

   my $junk = "x$newfile";

in the script.

If I write the error text which includes the name with extended character codes in it to file it is
correct. If I write the same text to STDERR for subversion to return to the user I get:

   svn: General svn error from server

at the client rather than the text I output on STDERR.

Help!!!! What's going on here?

-- 
Martin Tomes
echo 'Martin x Tomes at controls x eurotherm x co x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 10 12:57:42 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.