[Ffmpeg-devel] [PATCH] Show SVN revision number in version output

Loïc Le Loarer lll+ffmpeg
Tue Jun 20 00:22:45 CEST 2006


Le Tuesday 20 June 2006 ? 01:02:20 +0300, ??smail D?nmez a ?crit:
> Sal?? 20 Haziran 2006 00:12 tarihinde, ??smail D?nmez ??unlar?? yazm????t??: 
> > Hi,
> >
> > Other thread dive into the merits of using svnversion hence a new fresh
> > thread here , this time using Makefile approach as configure might not
> > change with every commit hence might not run. This version uses svnversion
> > and only slow for the first run, so its neglectible slowdown.
> 
> Mans pointed out that svnversion prints "exported" when there is no .svn 
> directory. So I added a version.sh script which takes care of it and prints 
> HEAD for version when .svn directory is missing.

Good, but why remplacing "exported" by "HEAD" ?

exported seems more correct as it doesn't imply anything on the link
between the compiled version and the svn repository. Because when no
.svn are present, nothing is known about the orign of the code, it can
by old, or modified... In my opinion, "exported" is clearer in this
situation.

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/20060620/48a05a5d/attachment.pgp>



More information about the ffmpeg-devel mailing list