[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cvs admin command question - using on files existing on branch also
From: |
Larry Jones |
Subject: |
Re: Cvs admin command question - using on files existing on branch also |
Date: |
Tue, 22 Jun 2004 17:09:16 -0400 (EDT) |
Jeeva Sarma writes:
>
> I have a question using cvs admin command to delete a
> revision of a file. If I deleted revision 1.7 of a
> file, which also exists on a branch at that revision,
> what will be the status of that file on the branch?
A revision cannot be on multiple branches. Revision 1.7 is on the
trunk and only on the trunk. If you have a branch that's rooted at a
particular revision, then I suspect that removing that revision would
be a bad idea.
> Some files exist on trunk and also branch, and we want
> to rollback some revisions for these files only on the
> branch, is there anyway we can use the cvs admin
> command for to achieve this? Or should we do it
> manually?
Neither. You should use update with two -j options to remove the
revisions in question and then commit the result as a new revision:
<https://www.cvshome.org/docs/manual/cvs-1.11.16/cvs_5.html#SEC62>
-Larry Jones
When you're SERIOUS about having fun, it's not much fun at all! -- Calvin