[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
removing a revision
From: |
Igor Schein |
Subject: |
removing a revision |
Date: |
Thu, 28 Apr 2005 22:36:02 -0400 |
User-agent: |
Mutt/1.4.2i |
Hi,
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. The only way I came up with is:
cvs co -r1.3 dir/filename
cp dir/filename filename-1.3
cvs co -r1.4 dir/filename
cp dir/filename filename-1.4
cvs admin -o 1.3 dir/filename
cvs admin -o 1.4 dir/filename
rm -r dir
cvs update -A -d dir
cp filename-1.3 dir/filename
cvs ci -m "" -r 1.2 dir/filename
cp filename-1.4 dir/filename
cvs ci -m "" -r 1.3 dir/filename
but it feels very unnecessary. There're should be an easier way. To
preclude possible question, I do have a need to remove a middle
revision completely, even if such action is not in sync with CVS's
spirit.
Thanks in advance.
Igor
- removing a revision,
Igor Schein <=