Blog Archive for December 9, 2010

Adding Revision Number to Mercurial Web

December 9, 2010

We wanted to be able to see the mercurial repository revision number in the list of commits using mercurial's repository viewer through a web browser.

We were using the gitweb theme, on a Fedora machine.

Finding Files

In /usr/lib/python2.6/site-packages/mercurial/templates are all the template files used by the web interface. As …