如何在使用 TortoiseHg 时启用 Mercurial 推/拉操作的身份验证?
我在我的开发团队中使用 Mercurial 作为 VCS,并使用 TortoiseHg 作为 GUI 工具。由于工作流程发生变化,我们的 QA 成员希望更好地控制发布服务器上的推/拉操作,他们希望仅允许具有用户凭据的指定用户访问指定的存储库(s)。请告知如何在拉动和推送操作中实现这一点?另外,请告知是否可以与 Windows 身份验证合并?
谢谢! 威廉
I'm using Mercurial as the VCS in my development team, and the TortoiseHg is used as the GUI tool. Due to the work flow change, our QA members would like to have finer control over the push/pull operation on the release server, they'd like to allow only specified user(s) with user credential(s) to access to specified repo(s). Please advise how to achieve this in both the pull and push operations? as well, please advise if it is possible to incorporate with the Windows Authentication?
Thanks!
William
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于您使用的传输协议和服务器。
Http
您可以在 .hg/hgrc 配置中添加允许推送到存储库的用户列表文件。
SSH
您可以使用操作系统的文件权限系统,也可以使用 SharedSSH。
文件
您可以使用操作系统的文件权限系统。
It depends on which transport protocol and server you use.
Http
You can add a list of users which are permitted to push into a repo in the .hg/hgrc configuration file.
SSH
You can use either the file permission system of your OS, or one of the ssh wrappers described in SharedSSH.
File
You can use the file permission system of your OS.