[MPlayer-dev-eng] svn policy change [RFC][PATCH]

Uoti Urpala uoti.urpala at pp1.inet.fi
Wed Aug 9 00:57:57 CEST 2006


On Wed, 2006-08-09 at 00:51 +0200, Ivo wrote:
> On Wednesday 09 August 2006 00:01, Michael Niedermayer wrote:
> > On Tue, Aug 08, 2006 at 11:59:11PM +0300, Ivan Kalvachev wrote:
> > [...]
> >
> > > #9
> > > I'd like an sample command how exacly to do that svn copy from
> > > previous revision.
> >
> > next time someone messes up ffmpeg svn ill try to find one ;)
> 
> There's probably a better way than this, but I once tried it at a file based 
> test repo and did it with svn cat (that's why I mentioned svn cat in the 
> svn-howto for inspecting old revisions in case of reverting changes). I 
> did:
> 
> say you have fubar.c at revision 500 and want to revert to revision 498:
> 
> svn -r498 cat fubar.c > fubar.tmp
> mv fubar.tmp fubar.c
> svn commit fubar.c

This commits a change which makes the new version identical to revision
498, which is how reverts should almost always be done (should be done
as in having this effect, not necessarily using svn cat). However it's
not what the earlier messages in the thread were talking about: deleting
the file and then creating a new one as a copy of an earlier revision,
so that the history of the new file doesn't contain the reverted changes
(which only appear in the history of the original file with the same
name which was deleted).




More information about the MPlayer-dev-eng mailing list