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

RE: Unable to restore a dump having Chinese characters

From: Samuel Langlois <slanglois_at_ilog.fr>
Date: Tue, 25 Mar 2008 18:58:48 +0100

Hello,

> For one thing, is your LANG environment variable set correctly? When
> I set it to a correct value on my system, the error message instead
> says:
>
> svnadmin: File not found: transaction '1-1', path 'trunk/shared-zh/
> squery-贷款审批-规则/规则/验证/贷款/检查总额.brl'
>
Thanks for your answers.

As Ulrich Eckhardt pointed out, I think (and hope!) the LANG env variable is not used there, except for printing on the terminal. I tried with different settings and got the same result.
Beside, it does not fit well with the fact that most files with Chinese name are imported properly, and only a few cause problems.

I may have another explanation: if you look at the output, it seems that the creation of a folder is missing:
     * adding path : trunk/shared-zh/squery-____-__/__/__/.rulepackage ... done.
     * adding path : trunk/shared-zh/squery-____-__/__/__/acceptLoan.fct ... done.
     * adding path : trunk/shared-zh/squery-____-__/__/__ ... done.
     * adding path : trunk/shared-zh/squery-____-__/__/__/__/____.brl ...
svnadmin: File not found: transaction '1-1', path 'trunk/shared-zh/squery-____-__/__/__/__/____.brl'

See? It created "squery-____-__/__/__" (two slashes) but not "squery-____-__/__/__/__" (three slashes) which makes the creation of "squery-____-__/__/__/__/____.brl" (four slashes) fail.

Could it be that some Chinese characters "look like" slashes, making the svnadmin dump fail to create a proper archive?

Thanks,
Samuel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-25 18:57:54 CET

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.