Subversion question
Posted by Sayamindu 1 year, 3 months ago
Dear Lazyweb,
Is there any method or way where a set of files hosted in a given subversion repository can be “imported” into another repository (inside a directory in the target repository) with all the change and other information intact ? Ideally this should not involve filesystem access to the SVN server.
The reason I ask for this is, it has been planned that the source of Pessulus be integrated into the Sabayon tree, and I’m not sure how to do the transfer inside SVN. Any kind of information on how to do this would be highly appreciated here. More information is available in Sabayon’s wiki page.

Take a look at http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html
How about tailor, using svn and both source and target?
http://wiki.darcs.net/DarcsWiki/Tailor
If you just want to *refer* to another repository, you’ll want to use svn:externals to accomplish this.
http://svnbook.red-bean.com/en/1.0/ch07s03.html
Specifying a revision number is considered good practice when doing this.
If you actually want to permanently move the Pessulus source into Sabayon, I believe the recommended course of action is to use dump both repositories and then reimport the dump files (but this requires admin access to the repository itself):
http://svn.haxx.se/dev/archive-2003-05/1769.shtml
I second Dan Young’s suggestion about using Tailor.
I’ve used tailor to “replay” bzr transactions to svn. I’d imagine it won’t be a far stretch to have tailor replay svn transactions between differents repos/branches.
This page describes quite well what is needed to do something like that:
http://svnbook.red-bean.com/en/1.0/ch05s03.html
although this requires access to the server it is the only good way I could find.
Using svnadmin dump to dump a repository to a file. Then using svndumpfilter to filter out what is needed. And then svnadmin load –parent-dir import to load the filtered content into another repository.
Too bad there is no svn copy that can copy between repositories…
svn:external seems to be what you’re looking for
If you want a “symlink” to the previous directory, you can just use svn:external like others have said.
If you actually want to copy the data, you can use Tailor, Git, or SVK. I tried using Tailor a few years ago and it utterly failed. I then did it with SVK and it worked but was unnecessarily difficult. If I were to do it today I’d use git-svn, but that’s just because I’m turning into quite the Git junkie.
Good luck!
Look at SVN-Mirror
svn2svn might be helpful:
http://danielkitta.org/blog/2006/10/27/migration-of-subversion-repository-without-admin-access/