Hi all,
firstly please excuse my english, but it's not my home language. I hope
you unterstand me. Thanks.
Now my problem: We (I) need the use of rtag.
In the cvs archiv is a file named cvstest/path/to/file.cpp,v. When I
show
this file (as root), then I see existing tags named:
S_V0_IT1_S2 (revision: 1.1)
S_V0_IT1_S1 (revision: 1.1)
A0 (revision: 1.1)
V1 (revision: 1.1)
When I check out this file (as a normaly user) and use cvs status -v
file.cpp
then I also see this four tags.
A script (called from root) should now set a new tag-name S_V0_IT1_S3
on a
existing tag. But if I call
cvs rtag -r A1 S_V0_IT1_S3 cvstest/path/to/file.cpp
cvs returns 0 but do nothing! Why? If I call
cvs rtag -r A5 S_V0_IT1_S3 cvstest/path/to/file.cpp
cvs returns correctly 1 (and do nothing). Is this a bug? The using of -r
existing_tag_name works correctly. But I need the Error-Code if the
tag-name
does not exists.
We use CVS Version 1.10 on a Solaris 2.6 system (sparc). I can reproduce
this error. Can anyone of also producing the returncode 0 by using rtag
of
a non existing tag? Can anyone help (to do list for a correctly rc if a
error
occured)
Thanks.
Gerd