info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs admin -o <latest> does not modify CVS/Entries


From: Larry Jones
Subject: Re: cvs admin -o <latest> does not modify CVS/Entries
Date: Fri, 26 Mar 2004 10:13:49 -0500 (EST)

Sam Steingold writes:
> 
> if the latest version is 1.7 and I do
> $ cvs admin -o 1.7 foo
> then foo is still marked as 1.7 in CVS/Entries and thus I have to edit
> it by hand to be able to work on the file.

Admin only affects the repository, it does not affect your working
directory.  And note that anyone else who had that revision checked out
would have the same problem but CVS doesn't have any way to know about
those files or fix them.  You really shouldn't be outdating revisions
anyway; if you want to discard a set of changes, back them out and
commit:

        cvs up -j1.7 -j1.6 foo
        cvs ci -m'back out changes from 1.7' foo

-Larry Jones

I've changed my mind, Hobbes.  People are scum. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]