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

Re: "Merging" two reps

From: Eric Lemes <ericlemes_at_gmail.com>
Date: 2006-06-01 15:24:19 CEST

On 5/31/06, Ryan Schmidt <subversion-2006q2@ryandesign.com> wrote:
>
> 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.

Hello Ryan,

From scratch

> svnadmin create c:\svn\teste
> (did some commits)
> svnadmin dump c:\svn\teste > dumpfile
> svnadmin load c:\svn\teste --parent-dir /teste2 < dumpfile (error)
> svnadmin load c:\svn\teste --parent-dir \teste2 < dumpfile (error too)

I tried to create the /teste2 dir into the rep and had the same error.
Another try is with a empty repository. I think he's trying to increment the
changes in the same repository, not to import files + history in another
this. It expects the same files in the same places..
Received on Thu Jun 1 15:27:55 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.