[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string
Christophe Mutricy
xtophe
Mon Jun 19 15:16:21 CEST 2006
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)
Also we should consider what happen if we are outside a svn tree ( daily
snapshot, ...). Something like svnversion 2>&1 || echo HEAD
--
Xtophe
More information about the ffmpeg-devel
mailing list