Exposing SVN revision numbers.

Dirk Koopman djk at tobit.co.uk
Fri Oct 13 17:39:14 BST 2006

On Fri, 2006-10-13 at 17:04 +0100, Edmund von der Burg wrote:
> 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.

Er.. I thought the whole point of svn was that individual file revision
numbers were "bad" and that the commit id / number was "good".

If you want individual file revision numbers, then I suspect that cvs is
your friend. Although I get the impression that your LPM karma may
reduce somewhat, if you use it.



More information about the london.pm mailing list