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

Importing Existing Repository into a New Repository

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Tue, 5 Oct 2010 12:47:22 -0700

I have an exisiting repository at /var/lib/svn/projectA with (tags,
branches, trunk structure) whose HEAD is at Revision 25

I just created a new/fresh repository at /var/lib/svn/projectB with (tags,
branches, trunk structure) whose HEAD is at Revision 1 (because of importing
the tags, branches and trunk structure). Now I would like to import the
projectA repository into projectB with increasing HEAD of projectB up to
revision 25.

svn import commands is only for unversioned files. svn dump and svn load
will increase the revision number.

How can I do this? Should I just checkout a WC of projectA and then delete
the .svn folder from it and then import it into projectB increasing revision
of projectB to 2 which is fine?

Is there a better way?

Thanks.
Received on 2010-10-05 21:49: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.