[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    RE: Unable to restore a dump having Chinese characters
From:       "Samuel Langlois" <slanglois () ilog ! fr>
Date:       2008-03-28 18:06:52
Message-ID: BF6EFF38DF3FA647BBD932720D8BED6579AE91 () parmbx02 ! ilog ! biz
[Download RAW message or body]

Got it!
It is a registered Subversion bug: http://subversion.tigris.org/issues/show_bug.cgi?id=2641
Path ordering in the dump is sometimes wrong with non-ASCII file names.
It seems to be fixed in 1.5, and maybe in a 1.4.*

Sorry for the spam...

Samuel

> -----Original Message-----
> From: Samuel Langlois
> Sent: vendredi 21 mars 2008 18:27
> To: 'users@subversion.tigris.org'
> Subject: Unable to restore a dump having Chinese characters
> 
> Hello,
> 
> I've had a tough week...
> Because of a hardware failure, we had to restore our nightly subversion dump.
> We are using 1.3.2 on Linux with fsfs (Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.7a DAV/2
> SVN/1.3.2)
> 
> After 2 hours of feverish restore, the "svnadmin load" failed with the message:
> File not found: transaction '84072-1', path
> 'JRules/branches/v65updates/localization/ja/tutorials/shared-jp/ã­ã¼ã³æ¤è¨¼ã«ã¼ã«/ã¯ã¨ãªã¼'
> The strange characters at the end are supposed to be Japanese chars that the term cannot display.
> 
> We finally managed to restore the dump by using svndumpfilter to exclude this path and several others.
> All of the paths which were causing problems had Chinese or Japanese characters.
> But most paths with such characters worked correctly: only a few were crashing the restore.
> 
> I was able to extract one part of the dump to reproduce the problem:
> ftp://ftp.ilog.fr/private/JRules/chinese.svndump.gz
> To reproduce, do the following:
>   svnadmin create chineserep
>   svn mkdir file://`pwd`/chineserep/trunk
>   svnadmin load chineserep < chinese.svndump
> 
> I tried re-importing it with subversion 1.4.6, but I had the same error.
> I suppose the problem happens during the dump, not the restore.
> 
> Is this a known problem with multibyte encodings?
> Would it be corrected in a newer version, or do you want me to register an issue?
> 
> Thanks a lot for your help,
> --
> Samuel Langlois
> ILOG S.A.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic