I really like using mercurial-server
[lshift.net] for hosting my Mercurial repositories. Because it uses SSH and public keys, it’s quite secure, and works well with multiple users. However, it doesn’t have public access for pulling repositories. For that reason, I also use hgweb
(shipped with Mercurial) to make my repositories publicly accessible and pullable, especially with the highlight module (also shipped with Mercurial) that uses Pygments [pygments.org] for syntax highlighting.
So in this post, I’ll be explaining how to use mercurial-server
to host your repositories, while also having them publicly browsable and pullable with hgweb
. I’ll also be demonstrating how to hide repositories from hgweb
, while still keeping them working with mercurial-server
.
Continue reading Serving Mercurial repositories with hgweb and mercurial-server