[mythtv] SVN version info
Nigel Pearson
nigel at ind.tansu.com.au
Thu Dec 1 23:50:51 EST 2005
>> SVN_REV=`egrep 'ver.*mythtv' .svn/dir-wcprops | sed 's/^.*ver\///' |
>> sed 's/\/.*//'`
...
> Why's grepping better than svn info / svnversion?
Only because it is faster than something that
checks each and every file across the network,
and allows builds when un-networked
(like when commuting with my laptop)
I wasn't actually aware of svnversion. Very nice.
The conciseness of the value set by:
SVN_REV=`svnversion .`
probably outweigh the networking issues.
--
Nigel Pearson, nigel at ind.tansu.com.au| "Let's see how Spike is going"
Telstra Dev. Lab, Sydney, Australia | ...
Office: 9814 4803 Fax: 9814 4897 |"I'd like to keep Spike as my
pet."
Mobile: 0408 664435 Home: 9792 6998 | Illyria - Angel
More information about the mythtv-dev
mailing list