I am trying to get the mercurial revision number/id (it\'s a hash not a number) programmatically in python.
The reason is that I want to add it to the css/js files on
give a try to the keyword extension