Mercurial is a fast, open-source, distributed version control system.

learn more… | top users | synonyms

15
votes
5answers
3k views

Mercurial (hg) with active directory

Can I setup Mercurial to authenticate users on Active Directory? In my case, hg can run on Windows, Linux or FreeBSD, but I need to use AD users. Note: if it is possible, then please point me to a ...
3
votes
2answers
885 views

Read access control with Mercurial and Apache

I've set up Mercurial via Apache (hgwebdir.cgi). I would like to have the same functionality as when using Subversion and AuthzSVNAccessFile, in which I can restrict which user has read or write ...
5
votes
3answers
2k views

How to set up a Mercurial repo like BitBucket on a Linux machine?

I've been using for a while BitBucket as a repo. Now I'd like to set up my own repository and I'd like it to have similar functionalities (in particular I'd like to push, have some kind of web ...
5
votes
1answer
2k views

NGINX basic auth only for POST

I'm settings up nginx to serve Mercurial repositories. It works when not using basic authentication at all, or when I use basic authentication all over. What I want to do is to just use basic auth on ...
7
votes
3answers
2k views

Stopping pushers from breaking my central Mercurial repository [closed]

I'm running the central mercurial repository, and I understand that the normal "push" command will stop if the remote user is trying to force multiple "head"s to my central repository. The intention ...
1
vote
2answers
3k views

Nginx wont send POST to FastCGI backend, but GET works fine?

Not sure why, but it is happy sending a GET to the FastCGI backend (Mercurial hgwebdir in this case), but simply resorts to the filesystem if the request is a POST. Relevant parts of nginx.conf: ...
4
votes
3answers
3k views

Hosting multiple repositories, each with differing access control

We will need to host a series of Mercurial repositories. For security, we will use SSL encryption in Apache and htpasswd access (required). I tested out a single repository and used hgwebdir.cgi and ...
1
vote
6answers
3k views

Cannot install mercurial properly - PYTHONPATH error

I have a server running on Ubuntu 10.04 on which I wanted to install Mercurial via % sudo apt-get install mercurial It seems to have installed successfully and doesn't show me any error messages. ...
0
votes
1answer
71 views

Why does hg choke when I veto resource forks on Samba?

I have a few users using Mercurial over Linux Samba shares, mounted on their Macs. The Samba server has the following veto rules (well discussed both here on this site and elsewhere) to prevent Macs ...