开发者

Can I use Mercurial to allow different users access to different parts of a project?

开发者 https://www.devze.com 2023-04-08 01:12 出处:网络
We\'re using SVN, but it seems to be getting a little out of date and heavy for our liking. We have a big project that we need different team memb开发者_高级运维ers to get access to different parts of

We're using SVN, but it seems to be getting a little out of date and heavy for our liking. We have a big project that we need different team memb开发者_高级运维ers to get access to different parts of. Can we set up Mercurial is a way that certain people can checkout / update the entire project, where as some other people only check out / access certain parts of the project?


There's the ACL extension which is shipped as part of Mercurial that may be suitable for your needs.


My initial thought is that it could be done using subrepos. If you can split your project into defined parts, these could be set up as sub-repositories. You would have a parent repository which contains all of the sub-repositories. The sub-repositories themselves could be set up to be accessible only by certain people.

0

精彩评论

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

关注公众号