开发者

How can I group several mercurial repositories in one?

开发者 https://www.devze.com 2022-12-22 17:17 出处:网络
I\'m working on a project that use Mercurial as his sou开发者_如何学JAVArce control manager. The directory structure is the following:

I'm working on a project that use Mercurial as his sou开发者_如何学JAVArce control manager.

The directory structure is the following:

repo/mylib1/.hg repo/mylib2/.hg ... repo/myApp/.hg

I want everything under an unique repo (ie: repo/.hg) and, ideally, I want to keep the file history of each repo.

Can I do that with Mercurial? How?

Thanks!


Yes you can combine repositories or split a repository into separate ones


You want to use Mercurial's relatively new support for subrepos.

0

精彩评论

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