Mercurial 中每个目录的读/写权限
我想将我的 Subversion 存储库转换为 Mercurial。我有一个相当大的网络项目,分为许多不同的文件夹。在 Subversion 中,我能够为存储库设置每个目录的权限。例如,我可以说新开发人员只能使用 Subversion 基于路径的授权来读取和写入所有项目目录的子集。我可以向开发人员“隐藏”包含代码敏感部分的某些目录,这样他就无法看到它们的内容,也无法对它们进行任何更改。
是否可以在单个 Mercurial 存储库中进行类似的设置?
I would like to convert my Subversion repository to Mercurial. I have a pretty big web project divided into many different folders. In Subversion I was able to set per directory permissions for a repository. For example, I could say that a new developer could only read and write a subset of all the project's directories, using Subversion's path-based authorization. I could "hide" certain directories containing sensitive parts of the code from the developer, so that he wouldn't be able to see their contents, nor commit any changes to them.
Is it possible to have a similar setup in a single Mercurial repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试 Mercurial 提供的 ACL 扩展。
You might try the ACL extension which is provided with Mercurial.