Reputation: 466
How to move a file from one repository to another repository preserving history in subversion?
Upvotes: 2
Views: 2005
Reputation: 97395
Follow-up to David's answer
With svnrdump dump
you can get dump from any remote repository and for any URL inside it (which also can be URL of single file), which can be extracted to new repository with svnadmin load
(local repo) or svnrdump load
(remote repo)
Upvotes: 2
Reputation: 107090
To move history in Subversion, you have to dump and load the repository. The svnadmin dump will dump out a repository in a standard text-format. Then, you can use svnadmin load to load the text-dump into another repository. These commands use pipes and redirects, so it's possible to run svnadmin dump
directly into a svnadmin load
. You can also use svndumpfilter to filter out the revisions you don't want.
For these commands to work, you need to be on the Subversion repository server.
Upvotes: 1