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

Re: A bug with native encoding in svnadmin dump?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-22 00:51:35 CET

On Mar 21, 2006, at 19:11, Михаил wrote:

> I'm using Subversion 1.3 on Win XP Professional + SP2.

[snip]

> <<< Started new transaction, based on original revision 1
> * adding path : branches ... done.
> * adding path : tag ... done.
> * adding path : trunk ... done.
> * adding path : trunk/src ... done.
> * adding path : trunk/src/
> ГрафыОтбораДокументов ... done.
> * adding path : trunk/src/
> ГрафыОтбораДокументов/
> ГрафыОтбораДокументов.mdp ... done.
> * adding path : trunk/src/ГруппыРасчетов ... done.
> * adding path : trunk/src/ГруппыРасчетов/
> ГруппыРасчетов.mdp ... done.
> * adding path : trunk/src/Документы ... done.
> * adding path : trunk/src/Документы/
> АктВРпост ... done.
> * adding path : trunk/src/Документы/
> АктВРпост/МодульПроведения.1s ... done.
> * adding path : trunk/src/Документы/
> АктВРпост/МодульФормы.1s ... done.
> * adding path : trunk/src/Документы/
> АктВРпост/Описание.txt ... done.
> * adding path : trunk/src/Документы/
> АктВРпост/Структура.mdp ... done.
> * adding path : trunk/src/Документы/
> АктВРпост/Форма.frm ... done.
> * adding path : trunk/src/Документы/
> АктВРреализ/МодульПроведения.1s ...
>
> "svnadmin: File not found: transaction '1' , path 'trunk/src/
> Документы/АктВРреализ/
> МодульПроведения.1s' "
>
> I opened the dump file in Editor and found that for some reason
> addin a dirpath 'trunk/src/Документы/
> АктВРреализ' was not BEFORE but AFTER adding of path
> 'trunk/src/Документы/АктВРреализ/
> МодульПроведения.1s'. But when I imported source
> with the names of dirs and path in translit (English). Everything
> gone just fine.

I wanted to try to reproduce this, but all I can say is it works for
me. I'm on Mac OS X 10.4.5 PPC with Subversion 1.3.0 made from
DarwinPorts. I am however obviously using empty files here, so my
dumpfile won't match yours in the slightest.

I will admit that I was completely unable to manipulate files with
these names in my Terminal, despite having set it to UTF-8 in the
info window and using a UTF-8 locale. The only way I was able to get
these files into Subversion was by using the import command, such
that I didn't have to specify the non-ASCII filenames on the command
line. I must admit I have never worked with files with non-ASCII
names on the command line before, or at least none whose names did
not begin with an ASCII character. So anyway that's a separate non-
Subversion issue my Terminal and I will have to work out between
ourselves.

$ svnadmin create repo
$ svn import wc file://`pwd`/repo -m ""
Adding wc/trunk
Adding wc/trunk/src
Adding wc/trunk/src/ГруппыРасчетов
Adding wc/trunk/src/ГруппыРасчетов/
ГруппыРасчетов.mdp
Adding wc/trunk/src/ГрафыОтбораДокументов
Adding wc/trunk/src/
ГрафыОтбораДокументов/
ГрафыОтбораДокументов.mdp
Adding wc/trunk/src/Документы
Adding wc/trunk/src/Документы/АктВРпост
Adding wc/trunk/src/Документы/АктВРпост/
Форма.frm
Adding wc/trunk/src/Документы/АктВРпост/
МодульФормы.1s
Adding wc/trunk/src/Документы/АктВРпост/
Структура.mdp
Adding wc/trunk/src/Документы/АктВРпост/
МодульПроведения.1s
Adding wc/trunk/src/Документы/АктВРпост/
Описание.txt
Adding wc/trunk/src/Документы/АктВРреализ
Adding wc/trunk/src/Документы/АктВРреализ/
МодульПроведения.1s
Adding wc/branches
Adding wc/tag

Committed revision 1.
$ svnadmin dump repo > dump
* Dumped revision 0.
* Dumped revision 1.
$ svnadmin create repo2
$ svnadmin load repo2 < dump
<<< Started new transaction, based on original revision 1
      * adding path : branches ... done.
      * adding path : tag ... done.
      * adding path : trunk ... done.
      * adding path : trunk/src ... done.
      * adding path : trunk/src/
ГрафыОтбораДокументов ... done.
      * adding path : trunk/src/
ГрафыОтбораДокументов/
ГрафыОтбораДокументов.mdp ... done.
      * adding path : trunk/src/ГруппыРасчетов ... done.
      * adding path : trunk/src/ГруппыРасчетов/
ГруппыРасчетов.mdp ... done.
      * adding path : trunk/src/Документы ... done.
      * adding path : trunk/src/Документы/
АктВРпост ... done.
      * adding path : trunk/src/Документы/АктВРпост/
МодульПроведения.1s ... done.
      * adding path : trunk/src/Документы/АктВРпост/
МодульФормы.1s ... done.
      * adding path : trunk/src/Документы/АктВРпост/
Описание.txt ... done.
      * adding path : trunk/src/Документы/АктВРпост/
Структура.mdp ... done.
      * adding path : trunk/src/Документы/АктВРпост/
Форма.frm ... done.
      * adding path : trunk/src/Документы/
АктВРреализ ... done.
      * adding path : trunk/src/Документы/
АктВРреализ/МодульПроведения.1s ... done.

------- Committed revision 1 >>>

$ svn --version | head -n 2
svn, version 1.3.0 (r17949)
    compiled Feb 9 2006, 01:30:44
$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 22 00:52:57 2006

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.