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

Re: svnadmin LC_CTYPE complains and hotcopy failure

From: Jean-Christophe MICHEL <jc.michel_at_symetrie.com>
Date: Sun, 29 Jun 2008 16:03:58 +0000 (UTC)

Hi,

Vincent Lefevre <vincent+svn <at> vinc17.org> writes:
> I don't understand the question. You should run svnadmin on the server,
> and the clients don't create files in the repository (unless you use
> the 'file' scheme).
>
> If you get an error like 'impossible to set LC_CTYPE', this probably
> means that you locale settings are incorrect. Try with LC_ALL=C (or
> LC_ALL=POSIX). The "...: Success" error is probably a bug. You can
> try "svnadmin verify" first, in case something has gone wrong in your
> repository.

verify shows no error, but hotcopy fails anyway :
...
* Verified revision 58.
* Verified revision 59.

$ svnadmin hotcopy /svn/project /tmp-svn-save/project
svnadmin: warning: cannot set LC_CTYPE locale
svnadmin: warning: environment variable LANG is fr_FR.UTF-8_at_euro
svnadmin: warning: please check that your locale name is correct
svnadmin: Can't copy '/svn/project/db/revs/58' to
'/tmp-svn-save/project/db/revs/58.tmp': Success

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

(was configured by dpkg-reconfigure locales)

Repository is created from linux, but with ascii only chars; files
are added and
committed from mac os x, with utf8 chars.
My question is: what can I do to get these projects backuped, since
hotcopy fails ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-29 18:04:48 CEST

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.