[MPlayer-dev-eng] Time to release pre6!

Romain Dolbeau romain at dolbeau.org
Sat Dec 18 18:18:26 CET 2004


Joey Parrish wrote:

> Can it be done with cvs admin, or do I need to create an unpatch?

cvs admin should IMHO never been used.
The proper way to back-out a commit of only
one file is to use

$ cvs update -j <new_revision> -j <old_revision> myfile.c
$ cvs commit -m "<back-out message>" myfile.c

with <new_revision> being the revision after the
patch, and <old_revision> the one before. It still
works if other changes were commited to the same
file (but this may create conflict if the same part
was changed since). the order of the two -j is
important.

if there's multiple files, then you run into CVS
limitations and need to do the update for each file,
unless you had the foresight to tag before and after
the commit. For a low-traffic CVS tree dates can be
used sometimes.

That way, you avoid breaking working copies that have
updated to the new version, and there's a trace of
the changes to avoid repeating mistakes...

Of course, others may (will ;-) have different opinions...

-- 
Romain Dolbeau




More information about the MPlayer-dev-eng mailing list