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

Copying a part of another repository, *with* its history

From: Stephane Bortzmeyer <bortzmeyer_at_nic.fr>
Date: Tue, 6 May 2008 17:16:25 +0200

I have a repository where I would like to include a subtree of another
repository, ***with its history***. I do not know if it is compatible
with the Subversion model (unique revision number, atomic commits,
etc). I find no solution in The Book or in the FAQ.

The obvious solution is not accepted:

% svn copy svn+ssh://bortzmeyer@foobar.example.com/home/bortzmeyer/one/two https://svn.nic.fr/ReD-AFNIC/Etudes
svn: Source and dest appear not to be in the same repository (src: 'svn+ssh://bortzmeyer@foobar.example.com/home/bortzmeyer/one/two'; dst: 'https://svn.nic.fr/ReD-AFNIC/Etudes')

I tried the svnadmin dump + load way but I cannot find the right
combination.

% svnadmin dump /home/bortzmeyer/one > tmp/svn
% svndumpfilter include /two < tmp/svn > tmp/svn-filtered
% svnadmin load --parent-dir /ReD-AFNIC/Etudes /var/lib/svn < tmp/svn-filtered

But svnadmin load fails:

...
<<< Started new transaction, based on original revision 4
svnadmin: File not found: transaction '92-1', path '/ReD-AFNIC/Etudes/two'
     * adding path : ReD-AFNIC/Etudes/two ... %

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-06 17:16:50 CEST

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.