Exposing SVN revision numbers.

Edmund von der Burg evdb at ecclestoad.co.uk
Fri Oct 13 17:04:41 BST 2006

Mucking around with hiveminder I saw that they have something like
'Hiveminder revision: 5403.' in the footer of each page.

This seems like a good idea.

What is the best way of doing this. I can think of several ways but
they all suck for some reason.

 * get $Revision$ from a specific file - sucks cos you need to keep
changing that file.
 * grab it from the server - sucks cos it keeps changing.
 * get it as part of deployment - sucks cos it does not work in the sandbox.

Also, is there a reason why exposing this might be a bad idea
(security?), PR, etc.


In reality I'm evdb at ecclestoad.co.uk - http://ecclestoad.co.uk

More information about the london.pm mailing list