[mythtv] SVN version info
Allan Stirling
Dibblahmythml0015 at pendor.org
Tue Nov 29 15:06:43 EST 2005
Daniel Kristjansson wrote:
> On Tue, 2005-11-29 at 19:54 +0000, Allan Stirling wrote:
>
>>Currently, there is no global SVN version number available. This means that it
>>can be quite difficult for someone running SVN to be able to discover the
>>version number he is actually running.
>>1. Do without. If someone is compiling for SVN, they should KNOW what revision
>>2. Checkin scripts. These would be run from the client side on a checkin.
>>3. Autogenerate a version singleton as part of the configure script.
>
> I'm not too up on SVN, but CVS has hooks that let you run any script on
> any SVN command on the server. In the past I've used this functionality
> to update a website, check if the code still compiles after a commit,
> etc.
>
Not easy with SVN, since the scripts would have to checkin a file, therefore
upping the revision number,...
Cheers,
Allan.
More information about the mythtv-dev
mailing list