[mythtv] SVN version info

Isaac Richards ijr at case.edu
Fri Dec 2 00:37:58 EST 2005


On Thursday 01 December 2005 11:50 pm, Nigel Pearson wrote:
> >> 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.

afaik, neither svnversion nor svn info hit the network.  Same as svn status + 
diff. =)

Isaac


More information about the mythtv-dev mailing list