[cvsnt] Re: Problem with admin -o

Tony Hoyle tmh at nodomain.org
Thu Feb 20 10:21:18 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Thu, 20 Feb 2003 11:37:22 +0200, "Lionello Lunesu"
<lionello.lunesu at crystalinter.remove.com> wrote:


>What's the usual method used to 'uncommit'?
>Is this a bug in cvs (on one side complaining it doesn't know about the
>file, on the other saying it's already there)?
>
admin -o isn't recommended, it basically manually deletes the revision
from the the rcs file, losing the history.  That's why it's restricted
to repository administrators... if you muck things up using it there's
no way back.  Deleting all the revisions in the file is definately one
of the things it's not a good idea to attempt.

The usual way to remove revisions is to apply the reverse-diff of what
you want to rollback to, and commit that eg.

cvs update -j HEAD -j 1.3 foo.c

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook