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

Re: "Merging" to reps

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-31 23:06:07 CEST

On May 31, 2006, at 22:43, Eric Lemes wrote:

>>> Is there any way to "join" to distinct repositorys without loosing
>>> history?

>>> I want to dump and load teste2 into /test, making a /svn/teste/
>>> test2.
>>
>> Have you already read the documentation for svnadmin dump and
>> svnadmin load?
>>
>> http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.dump.html
>>
>> http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.load.html
>>
>> You should be able to svnadmin dump the test2 repository and svnadmin
>> load it into the test repository using the --parent-dir switch to
>> tell it where to put it.
>
> I saw that.
>
> Another time, it's windows
>
>
> C:\Temp>svnadmin load c:\svn\teste --parent-dir \teste2 < dumpfile
> <<< Iniciou nova transação, baseado na revisão original 1
> * incluindo caminho : /teste2/teste.txt ...svnadmin: Arquivo
> não encontrado
> : transação '2-3', caminho '/teste2/teste.txt'
>
> It's "File not found" error.
>
> I don't know if there is another switch to svnadmin creates the not
> existing files/dirs, etc...
>
> Thank you for your help.

I thought Subversion repository paths should be written with forward
slashes, not backslashes. Try:

svnadmin load c:\svn\teste --parent-dir /teste2 < dumpfile

I'm not sure what it's saying it can't find. You could try creating
the teste2 directory in the teste repository before trying to load
the teste2 dump into it.

Failing that, how was the dumpfile created? What parameters did you
give to svnadmin dump?

Please remember to reply to all so that your reply goes to the list
as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 23:07:23 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.