[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string
Loïc Le Loarer
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??
> > 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
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.
"heaven is not a place, it's a feeling"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel