Thursday, June 02, 2011 10:25 AM Sean Feldman

Mercurial on IIS

Mercurial is a very appealing distributed source code versioning system. I used it with Google code and also for some local work when no server repository was available. Worked great. This time I wanted to go through the scenario of setting up Mercurial as a team repository with a centralized server. This would be still useful for an individual developer to have local commits (better than committing every single change just to ensure it’s captured) and would allow to push an entire change set to be versioned on the server and allow others to retrieve that change set with all the “intermediate bookmarks”.

Setting up Mercurial on a server through IIS was not painful, but tedious and too manual (yes, I prefer simplicity over unnecessary complexity – hint: VisualSVN server). I was a bit turned down by the fact that Active Directory authentication is not working with IIS for Mercurial. You can get it going with LDAP support build into Apache web server.

For me – for now I am going with Subversion. When something like VisualSVN Server for Mercurial shows up, I’m switching.  Unless I need the local (disconnected) mode Smile

Filed under:

Comments

# re: Mercurial on IIS

Thursday, June 02, 2011 1:07 PM by DJ

Not sure how much VisualSVN Server is, but have a look at Kiln by FogCreek

# re: Mercurial on IIS

Thursday, June 02, 2011 1:19 PM by Sean Feldman

@DJ,

My bad, I wasn't clear about objective - the server side repository cannot be hosted outside of the company (policy, grrrr). Kiln looks really good, another competition to BitBucket :) (https://bitbucket.org)

# re: Mercurial on IIS

Thursday, June 02, 2011 3:20 PM by Mike Lasseter

If you need to work disconnected and local with subversion, you can still do so with git-svn.

# re: Mercurial on IIS

Thursday, June 02, 2011 3:46 PM by Sean Feldman

@Mike,

Thank you for comment. I was able to use Mercurial for local commits with TortoiseHg. Worked really good in conjunction with VisualHg for Visual Studio 2010.

# re: Mercurial on IIS

Wednesday, June 22, 2011 11:17 PM by Dragos Varovici

Why IIS for hosting Mercurial?. Another option would be rhodecode http://rhodecode.org/. It's like bitbucket from an interface perspective, but hosted.