You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ingo Carstens <In...@dghyp.de> on 2011/02/03 13:53:42 UTC

File already exists Error with Subversion 1.6.12

Hello,
we have following error with importing dump file fom svnimporter of 
polarion:

codebeamer@af4hh087:/var/home/tmp_adm> svnadmin load 
/apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/ < 
/var/home/tmp_adm/full_dump_20110128_102420.txt.bin
<<< Started new transaction, based on original revision 1
svnadmin: File already exists: filesystem 
'/apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/db', 
transaction '2-11', path 'trunk'
     * adding path : trunk ..

I read many issues in the internet concerning this. Do you know this error 
and is there a solution for this? By the way, there's no file or directory 
db inside the dump.

Best Regards
Ingo Carstens



==================================================================================
DG HYP Deutsche Genossenschafts-Hypothekenbank AG
Hamburg: Rosenstraße 2, 20095 Hamburg - Postfach 10 14 46, 20009 Hamburg
Telefon: +49(0)40-33 34-0  -  Telefax: +49(0)40-33 34-11 11
Internet: www.dghyp.de
Vorstand: Dr. Georg Reutter (Sprecher), Dr. Carsten Meyer-Raven, Manfred 
Salber
Vorsitzender des Aufsichtsrates: Hans-Theo Macke
Sitz der Gesellschaft: Hamburg
Handelsregister: Hamburg HRB 5604
==================================================================================
Diese E-Mail einschließlich ihrer Anhänge kann vertrauliche Informationen 
enthalten. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten 
wir, 
eine fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine 

Nachricht zukommen zu lassen. Da wir nicht die Echtheit oder 
Vollständigkeit 
der in dieser Nachricht enthaltenen Informationen garantieren können, 
schließen 
wir die rechtliche Verbindlichkeit der vorstehenden Erklärungen und 
Äußerungen aus.

Re: File already exists Error with Subversion 1.6.12

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Ingo Carstens,
am Donnerstag, 3. Februar 2011 um 13:53 schrieben Sie:

> codebeamer@af4hh087:/var/home/tmp_adm> svnadmin load
> /apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/ < 
> /var/home/tmp_adm/full_dump_20110128_102420.txt.bin
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem 
> '/apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/db', 
> transaction '2-11', path 'trunk'
>      * adding path : trunk ..

This means that your target repository is not empty and already
contains a folder named "trunk", which can't be added anymore, of
course.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening@am-soft.de
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


Re: File already exists Error with Subversion 1.6.12

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Bob Archer wrote on Thu, Feb 03, 2011 at 09:55:40 -0500:
> > Hello,
> > we have following error with importing dump file fom svnimporter of
> > polarion:
> > 
> > codebeamer@af4hh087:/var/home/tmp_adm> svnadmin load
> > /apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/ <
> > /var/home/tmp_adm/full_dump_20110128_102420.txt.bin
> > <<< Started new transaction, based on original revision 1
> > svnadmin: File already exists: filesystem '/apps/codebeamer/CB-
> > 5.5.1-b02/repository/svn/ARUEHISTORIE/db', transaction '2-11', path
> > 'trunk'
> >     * adding path : trunk ..
> > 
> > I read many issues in the internet concerning this. Do you know
> > this error and is there a solution for this? By the way, there's no
> > file or directory db inside the dump.
> > 
> > Best Regards
> > Ingo Carstens
> 
> Two things...
> 
> 1. You did create a repository with svnadmin first. Load will not create a repository. You are loading into an empty repository?
> 

Yes, I can tell that from the error message.

> 2. Try the command without the trailing slash on the repository path... all the example I see don't use it, and I also don't put it when I have done loads.
> 

Irrelevant.  Paths are svn_dirent_canonicalized() at the client level
(before they enter the library), and that removes trailing slashes.

(that is responsible for the problems with 'svn ls symlink-to-wc/' by
the way)


> BOb
> 

Antwort: RE: File already exists Error with Subversion 1.6.12

Posted by Ingo Carstens <In...@dghyp.de>.
Hello,
thank you for your responce. We solved this problem just a minute before. 
The reason was, that all paths starts with null/ in the dump file. We 
deleted this and then it worked;-)

Best Regards
Ingo Carstens




==================================================================================
DG HYP Deutsche Genossenschafts-Hypothekenbank AG
Hamburg: Rosenstraße 2, 20095 Hamburg - Postfach 10 14 46, 20009 Hamburg
Telefon: +49(0)40-33 34-0  -  Telefax: +49(0)40-33 34-11 11
Internet: www.dghyp.de
Vorstand: Dr. Georg Reutter (Sprecher), Dr. Carsten Meyer-Raven, Manfred 
Salber
Vorsitzender des Aufsichtsrates: Hans-Theo Macke
Sitz der Gesellschaft: Hamburg
Handelsregister: Hamburg HRB 5604
==================================================================================
Diese E-Mail einschließlich ihrer Anhänge kann vertrauliche Informationen 
enthalten. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten 
wir, 
eine fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine 

Nachricht zukommen zu lassen. Da wir nicht die Echtheit oder 
Vollständigkeit 
der in dieser Nachricht enthaltenen Informationen garantieren können, 
schließen 
wir die rechtliche Verbindlichkeit der vorstehenden Erklärungen und 
Äußerungen aus.




Bob Archer <Bo...@amsi.com> 

03.02.2011 15:55

An
Ingo Carstens <In...@dghyp.de>, "users@subversion.apache.org" 
<us...@subversion.apache.org>
Kopie

Thema
RE: File already exists Error with Subversion 1.6.12






> Hello,
> we have following error with importing dump file fom svnimporter of
> polarion:
> 
> codebeamer@af4hh087:/var/home/tmp_adm> svnadmin load
> /apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/ <
> /var/home/tmp_adm/full_dump_20110128_102420.txt.bin
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem '/apps/codebeamer/CB-
> 5.5.1-b02/repository/svn/ARUEHISTORIE/db', transaction '2-11', path
> 'trunk'
>     * adding path : trunk ..
> 
> I read many issues in the internet concerning this. Do you know
> this error and is there a solution for this? By the way, there's no
> file or directory db inside the dump.
> 
> Best Regards
> Ingo Carstens

Two things...

1. You did create a repository with svnadmin first. Load will not create a 
repository. You are loading into an empty repository?

2. Try the command without the trailing slash on the repository path... 
all the example I see don't use it, and I also don't put it when I have 
done loads.

BOb



RE: File already exists Error with Subversion 1.6.12

Posted by Bob Archer <Bo...@amsi.com>.
> Hello,
> we have following error with importing dump file fom svnimporter of
> polarion:
> 
> codebeamer@af4hh087:/var/home/tmp_adm> svnadmin load
> /apps/codebeamer/CB-5.5.1-b02/repository/svn/ARUEHISTORIE/ <
> /var/home/tmp_adm/full_dump_20110128_102420.txt.bin
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem '/apps/codebeamer/CB-
> 5.5.1-b02/repository/svn/ARUEHISTORIE/db', transaction '2-11', path
> 'trunk'
>     * adding path : trunk ..
> 
> I read many issues in the internet concerning this. Do you know
> this error and is there a solution for this? By the way, there's no
> file or directory db inside the dump.
> 
> Best Regards
> Ingo Carstens

Two things...

1. You did create a repository with svnadmin first. Load will not create a repository. You are loading into an empty repository?

2. Try the command without the trailing slash on the repository path... all the example I see don't use it, and I also don't put it when I have done loads.

BOb