[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string

Loïc Le Loarer lll+ffmpeg
Mon Jun 19 15:29:42 CEST 2006


Le Monday 19 June 2006 ? 16:24:25 +0300, ??smail D?nmez a ?crit:
> Pazartesi 19 Haziran 2006 16:16 tarihinde, Christophe Mutricy ??unlar?? 
> yazm????t??: 
> > Hello,
> >
> > > +FFMPEG_VERSION="SVN-r`grep committed-rev .svn/entries | sed 1q | cut -d
> > > '"' -f 2 2>/dev/null`"
> >
> > What about "svnversion" ? It will take a bit longer but gives you more
> > exact info. ( if there are some modifications or all directories are not
> > at the same rev)
> 
> svnversion looks way slower than a simple grep, it took 11 seconds on mplayer 
> SVN tree while grep is instant. What would be the exact cases grep would 
> fail?

If there are local modifications, svnversion adds a M char at the end of
the revision number, this is very usefull, it is a bit like the tainted
flag of the linux kernel.

Best regards.

-- 
Lo?c

"heaven is not a place, it's a feeling"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060619/973bbe76/attachment.pgp>



More information about the ffmpeg-devel mailing list