Host Mercurial on my company's intranet?

bitbucket, hosting, intranet, mercurial

Solution

Mercurial ships with `hgwebdir.cgi`, which can be configured to provide a basic interface for repository hosting. It's quite straightforward to setup with Apache.

I use this on my OSX box at home; took about an hour - most of that was permissions related to kludging in server operations on a desktop box.

It's not Bitbucket. If you have a decent-sized budget, you might be able to purchase a bitbucket license for your company - I don't know.

Problem

Instead of using an external web-based Mercurial host, I want to set one up on my company's intranet. Is there a web-based tool for Mercurial that lets you have an interface like Bitbucket's but let's you host Mercurial locally?

Original source