Setting up mercurial with HTTP authentication - Windows

This page describes a complete set of steps for installing hg as a windows service, along with nginx for HTTP proxy authentication. As it is, it is most appropriate for intranet configurations but by adding HTTPS to the mixture, the world is your sea food...

Wish list: - We use mercurial in "hg serve" mode - For HTTP authentication, we use nginx - For nginx/hg windows service integration, we use “Windows Service Wrapper”

1. Download necessary files

2. Configuration


<service>

</service>





<service>

</service>



:stop

:start

:end



[web]

push_ssl = false

allow_push = *

[paths]

test = c:\nginx\hg\repository\test



c:\nginx> nginx-service install

c:\nginx> hg-service install


And that's all!