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

Re: migrating/merging repositories

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-27 02:16:13 CEST

bruce wrote:
> hi...
>
> if i do a
> svnadmin load oldrepos < newdumpfile
>
> such that the newdumpfile contains a 'foo.txt' in the exact same dir
> location as the oldrepos, i get the following error...
>
> [root@lserver2 atest]# svnadmin load /svnroot/svn < newdumpfile
> <<< Started new transaction, based on original revision 1
>
> ------- Committed new rev 9 (loaded from original rev 1) >>>
>
> <<< Started new transaction, based on original revision 2
>
> ------- Committed new rev 10 (loaded from original rev 2) >>>
>
> <<< Started new transaction, based on original revision 3
>
> ------- Committed new rev 11 (loaded from original rev 3) >>>
>
> <<< Started new transaction, based on original revision 4
> * adding path : u1 ...svn: File already exists: filesystem
> '/svnroot/svn/db', transaction 'o', path 'u1'
>
> i've performed a 'cat' on the two separate repositories, and the files,
> while in the same location , are different.
>
> i created the newdumpfile, by extracting a dir from the original
> repository,
> creating a repository, and then modifying the resulting test file.
>
> i'm basically trying to figure out how to extract a dir from a parent
> repository, modify the file under it's on child repository, and then
> replace/reinsert/update the dir/dump back in the original repository...
>
> given that this should be doable, what am i missing...

Loading a dumpstream adds new revisions to a repository. It does *not*
modify existing revisions in the repository *in any way*.

Naturally, if the dumpstream trys to add a file which already exists, that's
an error.

I didn't really understand your explanation of what you are trying to do -
can you clarify?

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 02:21:30 2004

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.