You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Lemes <er...@gmail.com> on 2006/05/31 18:18:59 UTC

"Merging" to reps

Hello guys,

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

Ex.:

/svn/test
/svn/test2

I want to dump and load teste2 into /test, making a /svn/teste/test2.

Is there any way to do this?


[]'s

Eric Lemes

Re: "Merging" to reps

Posted by Ryan Schmidt <su...@ryandesign.com>.
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


Re: "Merging" to reps

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 31, 2006, at 20:18, Eric Lemes wrote:

> Is there any way to "join" to distinct repositorys without loosing  
> history?
>
> Ex.:
>
> /svn/test
> /svn/test2
>
> I want to dump and load teste2 into /test, making a /svn/teste/test2.
>
> Is there any way to do this?

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.


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