[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cvs remove deletes the tag?
From: |
Shawn Matlock |
Subject: |
RE: cvs remove deletes the tag? |
Date: |
Thu, 3 Jan 2008 11:46:57 -0800 |
I'm really just interested in the results of using cvs remove on files
checked out sticky.
>cvs -q checkout -r tag_B -P CVSTest/remove_test
U CVSTest/remove_test/remove_test4.sql
U CVSTest/remove_test/remove_test5.sql
>cd CVSTest
>cvs remove -f
cvs remove: Removing .
cvs remove: Removing remove_test
cvs remove: scheduling `remove_test/remove_test4.sql' for removal
cvs remove: scheduling `remove_test/remove_test5.sql' for removal
cvs remove: use 'cvs commit' to remove these files permanently
>cvs commit
cvs commit: Examining .
cvs commit: Examining remove_test
The results are:
- tag_B has been deleted from the two files
>cvs co -r tag_B CVSTest/remove_test
cvs checkout: Updating CVSTest/remove_test
- the files are NOT removed from CVS:
>cvs co CVSTest/remove_test
cvs checkout: Updating CVSTest/remove_test
U CVSTest/remove_test/remove_test1.sql
U CVSTest/remove_test/remove_test2.sql
U CVSTest/remove_test/remove_test3.sql
U CVSTest/remove_test/remove_test4.sql
U CVSTest/remove_test/remove_test5.sql
My expectation was to have the files removed from CVS. I think I
understand why the files have not been removed. CVS cannot remove the
files because it can't create a new revision on a sticky tag.
I do not understand why tag_B is removed?
Thank you,
Shawn
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Sunday, December 30, 2007 9:02 PM
To: Shawn Matlock
Subject: cvs remove deletes the tag?
Kindly list out the sequence of steps you have done and the output which
you have received as a result along with your expected output and
requirement
Shawn Matlock wrote:
>
> Tag A is applied to a set of files.
>
> Tag B is applied to a subset of those same files.
>
>
>
> I realize it's unusual, but the files with tag B need to have tag A
> deleted.
>
> The files with tag B also need to be removed from CVS.
>
>
>
> I checkout the project at tag B.
>
> I delete tag A from those files.
>
>
>
> History shows tag A is gone.
>
>
>
> Now, I cvs remove those files. I receive typical confirmation and
output
> on
>
> commit.
>
>
>
> A checkout of HEAD still has these files.
>
> History shows that tag B is gone on those files.
>
>
>
> I believe they aren't removed because I didn't update them from the
>
> sticky tag to HEAD before removing them.
>
>
>
> What I do not understand is why tag B is gone?
>
>
>
> I can reproduce this effect every time.
>
>
>
>
>
> Thank you,
>
> Shawn Matlock
>
>
>
Quoted from:
http://www.nabble.com/cvs-remove-deletes-the-tag--tp14533523p14533523.ht
ml
- RE: cvs remove deletes the tag?,
Shawn Matlock <=