I've got tough problem. I've got a few repos, let's say: A B C D And what I want to do is to import content from these to another new one, let's say repo E.\ Of course with the revision history of all of these repos. And other thing is that I want to export from A and B only % of content (not all repos).

Can it be done? Any chances?

有帮助吗?

解决方案

svnadmin dump and svnadmin load are your friends here.

Once you have a dump from the old repos, you can filter out the bits you do not want using svndumpfilter. You can also edit the dump files to change the paths of the files (carefully) so your old repos will populate the new repo in the organisation you would like.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top