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

Re: svn commit: r13215 - trunk/subversion/tests/clients/cmdline

From: Ben Reser <ben_at_reser.org>
Date: 2005-03-01 19:54:54 CET

On Tue, Mar 01, 2005 at 05:40:11PM +0000, Philip Martin wrote:
> That doesn't always work:
>
> $ LANG=C ../svn/subversion/tests/clients/cmdline/utf8_tests.py list
> Traceback (most recent call last):
> File "../svn/subversion/tests/clients/cmdline/utf8_tests.py", line 108, in ?
> localematch = localeregex.search(locale.getlocale()[1])
> TypeError: expected string or buffer
>
> It works if I use LANG=en_GB or LANG=en_GB.UTF-8.

After r13217 you shouldn't be seeing this anymore but the test will
still be being skipped on your machine, try this patch to see if this
fixes it on your machine:

Index: utf8_tests.py
===================================================================
--- utf8_tests.py (revision 13217)
+++ utf8_tests.py (working copy)
@@ -98,7 +98,7 @@
     # -- Branko ÄŒibej
     # <brane@xbc.nu>
     locale.setlocale(locale.LC_ALL, '.1252')
   else:
- locale.setlocale(locale.LC_ALL, 'en_US.ISO8859-1')
+ locale.setlocale(locale.LC_ALL, 'ISO8859-1')
 except:
   pass

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 1 19:57:44 2005

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.