开发者

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

开发者 https://www.devze.com 2023-02-03 12:25 出处:网络
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.

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消