subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tech Geek <techgeek12...@gmail.com>
Subject Importing Existing Repository into a New Repository
Date Tue, 05 Oct 2010 19:47:22 GMT
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.

Mime
View raw message