Originally Posted by
andrew.46
Mind you there is a small problem with this approach in that the syntax you have given will download revision 20056 of all of FFmpeg except libswscale which will be the latest svn HEAD, it is an external library. Failure to compile can result.
So it seems. I never noticed that before. Then again most times I work with ffmpeg revisions that far in the past it's on other branches that are restricted to git, and you have to grab libswscale manually afterward (making date cohesion more of an obvious task).
A slightly unwieldy way to correct this is to download revisions by date rather than revision:
Code:
$ svn co -r '{'2010-02-18'}' svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
$ cd ffmpeg/libswscale
$ svn up -r '{'2010-02-18'}'
although there are other methods...
Andrew
I suppose it could be do-able by having a script with nearly identical syntax to svn checkout that queries ffmpeg's svn log by revision, copies the date/time from the entry, and then performs the aforementioned date-based checkout.
So the command given would be something like:
ffcheckout -r 20056 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
But what would go on is:
svn log -r 20056 svn://svn.ffmpeg.org/ffmpeg/trunk
r20056 | mru | 2009-09-27 04:16:50 -0400 (Sun, 27 Sep 2009) | 1 line
(copies '2009-09-27 04:16:50 -400' from the log entry)
svn co -r '{'2009-09-27 04:16:50 -400'}' svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg/libswscale
svn up -r '{'2009-09-27 04:16:50 -400'}'
Bookmarks