[mythtv] SVN version info

Isaac Richards ijr at case.edu
Thu Dec 1 22:30:31 EST 2005

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?


More information about the mythtv-dev mailing list