如何在使用 TortoiseHg 时启用 Mercurial 推/拉操作的身份验证?

发布于 2024-10-08 09:06:16 字数 193 浏览 0 评论 0原文

我在我的开发团队中使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稚然 2024-10-15 09:06:16

这取决于您使用的传输协议和服务器。

Http

您可以在 .hg/hgrc 配置中添加允许推送到存储库的用户列表文件

[web]
allow_push = frodo, sam

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.

[web]
allow_push = frodo, sam

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文