[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string
Mon Jun 19 15:24:25 CEST 2006
Pazartesi 19 Haziran 2006 16:16 tarihinde, Christophe Mutricy ?unlar?
> > +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
> Also we should consider what happen if we are outside a svn tree ( daily
> snapshot, ...). Something like svnversion 2>&1 || echo HEAD
Yes thats a valid problem, should take care of it.
More information about the ffmpeg-devel