[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: removing a revision
From: |
Spiro Trikaliotis |
Subject: |
Re: removing a revision |
Date: |
Fri, 29 Apr 2005 07:53:41 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
Hello,
* On Thu, Apr 28, 2005 at 10:36:02PM -0400 Igor Schein wrote:
> let's say I have 4 revisions of a file, 1.1, 1.2, 1.3 and 1.4, and I
> want to wipe out rev 1.2 completely, shiting the later 2 revisions:
>
> 1.1->1.1
> 1.2->gone
> 1.3->1.2
> 1.4->1.3
>
> I can do cvs admin -o 1.2 filename, but I can't figure out an easy way
> to shift the other 2 revisions.
Why do you want to do that? Think of these numbers as "magic numbers"
and do not try to give them any meaning at all!
That said, IF YOU REALLY KNOW WHAT YOU ARE DOING, you can do the
following: Remove the revision 1.2 with "cvs admin -o 1.2 filename", and
edit the filename,v file directly in the repository. Anyway, I do not
recommend this as this is very error prone. For example, you have to
think about all the branches.
Thus, my recommendation: Remove 1.2 and leave everything as it is now.
HTH,
Spiro.
--
Spiro R. Trikaliotis http://cbm4win.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/