3Dave
3Dave

Reputation: 29051

svn - copy part of repository + history into folder in a different repository?

I have a repository containing several old projects that I need to move into a folder (not the repo root) in an existing repository. I need to migrate the full history, as well.

svnsync almost does what I need, but not quite: as far as I can tell, it won't sync into a folder other than the repository root. I do not have remote desktop access to the machine hosting the source repository, so using svndump is out.

Suggestions?

Upvotes: 1

Views: 540

Answers (1)

Nathan Kidd
Nathan Kidd

Reputation: 2959

If you can't get a dump then svnsync to a new repository, then use svndumpfilter to isolate the branches you want, and svnadmin load to the final repo location. Obviously quite inefficient.

Upvotes: 1

Related Questions