开发者

Mercurial - possible to do restrictions?

开发者 https://www.devze.com 2023-04-10 03:52 出处:网络
I\'m looking into using Mercurial (I\'ve had enough of SVN merge). Is it possible to have a repo wherein individuals are restricted to what they have access to? For example, a frontend developer would

I'm looking into using Mercurial (I've had enough of SVN merge). Is it possible to have a repo wherein individuals are restricted to what they have access to? For example, a frontend developer would only have access to HTML and CSS files, etc.

I guess I a开发者_JAVA技巧m looking for something like: http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html


Due to distributed nature of Mercurial it is not possible to do. User either has read permissions to the whole repository, or not.

About writes: it is possible to control this on server side with hooks though, but in this case it will be a big headache for developers who made changes by accident or had to do them and got blocked because of lack of permissions to push (thus continue working)


  • ACL extension can help
  • You can also split repo on separate repos and join parts into big project with subrepos (or just have more than one repo in paths and perform pulls from all)
0

精彩评论

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

关注公众号