[MPlayer-users] Reverting to specific revision

John Brown johnbrown_105 at yahoo.com
Mon Dec 24 13:36:06 CET 2012


Ilja Sekler <ilja_sekler_ <at> gmx.de> writes:

> 
> Am 24.12.2012 12:08, schrieb John Brown:
> > To my horror, I see that FFmpeg's version control system is now using git.

<snip/> 

> > I want to go back a few *days* at a time until I succeed in building
> > MPlayer. How can I do that?
> 
> In the ffmpeg directory:
> 
> git rev-list master -n 1 --first-parent --before="YYYY-MM-DD hh:mm"
> 
> The command above returns the $REVISION you can check out with the usual
> 
> git checkout $REVISION
> 
<snip/> 


When I run the command in ./mplayer/ffmpeg, which was automatically
checked out by ./mplayer/configure because it did not exist, there is
no output. However, when I run it in an ffmpeg checkout that I created
with
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
it works:

John at john-pc /c/users/john/Downloads/open_source/mplayer/ffmpeg
$ cd ../../ffmpeg

John at john-pc /c/users/john/Downloads/open_source/ffmpeg
$ git rev-list master -n 1 --first-parent --before=2012-12-21
63753186cc2766e01c6a46d06895a7742c1a768f

John at john-pc /c/users/john/Downloads/open_source/ffmpeg
$

Regards,
John Brown.





More information about the MPlayer-users mailing list