[mythtv] SVN version info

Korey Fort k.m.fort at gmail.com
Thu Dec 1 23:42:48 EST 2005

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
On Behalf Of Isaac Richards
Sent: Thursday, December 01, 2005 9:31 PM
To: Development of mythtv
Subject: Re: [mythtv] SVN version info

On Thursday 01 December 2005 10:10 pm, Nigel Pearson wrote:
> > There is no global revision number accessible from a $tag$.
> 	True. We may be able to "fake" it using something like this:
> SVN_REV=`egrep 'ver.*mythtv' .svn/dir-wcprops | sed 's/^.*ver\///' |
> sed 's/\/.*//'`
> in configure could set a DEFINE for programs/myth*end to use
> (assuming that the source was actually checked out).
> It would of course only be accurate if the source tree
> had no local modifications.

Why's grepping better than svn info / svnversion?


I saw this article a while ago, but it does talk about getting the version
number from svn.

More information about the mythtv-dev mailing list