[Ffmpeg-devel] version.sh

Michel Bardiaux mbardiaux
Tue Aug 29 14:53:45 CEST 2006


It works only when svn is installed. It means ffmpeg is considered 
SVN-rUNKNOWN on all my systems except debian sarge. This is particularly 
annoying since the existence of a global version number is one of the 
most interesting features of svn vs. cvs.

Proposal: if svn is not available (or always?) use the first 
committed-rev line in .svn/entries at the top. This is something of a 
hack since it assumes the global rev is first, but it could be made more 
secure by checking there is a name="" 1 line below and kind="dir" 5 
lines below and a matching revision="6125" 8 lines below.

Greetings,
-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list