How to enable authentication for Mercurial push / pull operation when using TortoiseHg?

I use Mercurial as VCS in my development team, and TortoiseHg is used as a GUI tool. Due to a change in workflow, our QA members would like to have finer control over the push / pull operation on the release server, they would like to allow only the specified users (users) with user credentials to access the specified repo (s). Please indicate how to achieve this both in pull operations and in push operations? also please advise if it is possible to connect to windows authentication?

Thank! William

+3
source share
1 answer

It depends on which transport protocol and server you are using.

Http

You can add a list of users who are allowed to enter repos in the .hg / hgrc configuration file .

[web]
allow_push = frodo, sam

Ssh

You can use either the file resolution system of your OS, or one of the ssh wrappers described in SharedSSH .

File

You can use the file permissions system of your OS.

+5
source

Source: https://habr.com/ru/post/1780640/


All Articles