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

moving parts of a project keeping history

From: Christoph Krohne <christoph.krohne_at_freiheit.com>
Date: 2006-08-22 16:46:08 CEST

Hi,

i got a problem to move a part of project out of one repository to a
new one (with history).

What i did:
First i created a complete dump using svnadmin.
svnadmin dump /var/lib/subversion > /root/rep.dump

That after I tried to filter the part of the project i'm interested in doing
the following where all the branches and tags are inlcuded.
(So actuallythis is a little longer :))

"cat /root/rep.dump | svndumpfilter include PROJECT/trunk/PART
PROJECT/branches/BRANCHNAME/PART PROJECT/tags/TAGNAME/PART > PROJECT.dump"

So I created a new Repository on a different machine
with "svnadmin create /var/lib/subversion" and after that i created the
new project with "svn mkdir file:///var/lib/subversion/PROJECT/trunk
file:///var/lib/subversion/PROJECT/branches
file:///var/lib/subversion/PROJECT/tags".

Now I wanted to load the dump into the new repository.
"svnadmin load /var/lib/subversion < rep.dump"

what i got is (i translated it because message was originally in german):

-------- schnipp
<<< new transaction based on Originalrevision 4467 started
     * adding path :
PROJECT/branches/Phase_1_a-Production_Branch/web/images/button_weiter_bestellen.gif ...svn:
File not found: transaction '3y',
path 'PROJECT/branches/Phase_1_a-Production_Branch/web/images/button_weiter_bestellen.gif'
--------- schnapp

So it seems that the path doesn't exists. So I added the path manually. That
begins with the name of the branche...

Any suggestions or clues how I can split my project into two parts and put one
part into another repository?

Thanks in advance,
Christoph

-- 
Christoph Krohne
Dipl.-Inf.
freiheit.com technologies gmbh
Straßenbahnring 22 / 20251 Hamburg, Germany
fon       +49 (0)40 / 890584-0
fax       +49 (0)40 / 890584-20
65c2 3ed1 f966 08ba 8083  41f6 d248 9043 d439 4dcf

  • application/pgp-signature attachment: stored
Received on Tue Aug 22 19:31:50 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.