[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string

Måns Rullgård mru
Mon Jun 19 16:49:17 CEST 2006


?smail D?nmez said:
> Pazartesi 19 Haziran 2006 16:29 tarihinde, Lo?c Le Loarer ?unlar?
> yazm??t?:
> [...]
>> > 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 fail?
>>
>> 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.
>
> Thanks for the info but I really don't think that worths 11 seconds ( on a
> Pentium M 1.7, 512mb RAM ...)

It's not a question of 11 seconds, it's a question of getting it right at all.
What if your grep happens to pick a file that wan't modified in the last
commit?  I also agree it is useful to know if there were any local changes.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list