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
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
