Discussion:
[CVS] How to move a tag successfully?
(too old to reply)
Steven
2003-07-30 08:27:53 UTC
Permalink
I want to move a tag of a file from version 1.3 to 1.5, I have checked
the help and documents of cvs, but it doesn't work. Would anyone help me?

I use:
$ cvs tag
Usage: cvs tag [-bcdFflR] [-r rev|-D date] tag [files...]
-b Make the tag a "branch" tag, allowing concurrent
development.
-c Check that working files are unmodified.
-d Delete the given tag.
-F Move tag if it already exists.
-f Force a head revision match if tag/date not found.
-l Local directory only, not recursive.
-R Process directories recursively.
-r rev Existing revision/tag.
-D Existing date.
(Specify the --help global option for a list of other help options)
$ cvs tag -F -r1.5 filename
tag.archive: dir/test...
cvs server: Pre-tag check failed
cvs [server aborted]: correct the above errors first!

Am I wrong? Thank you very much!
--
Steven Ding
Nils Petter Vaskinn
2003-07-30 08:41:18 UTC
Permalink
Post by Steven
$ cvs tag -F -r1.5 filename
cvs tag -F -r1.5 tagname filename


hth
npv
Steven
2003-07-30 08:48:53 UTC
Permalink
Post by Nils Petter Vaskinn
Post by Steven
$ cvs tag -F -r1.5 filename
cvs tag -F -r1.5 tagname filename
hth
npv
I'm sorry about that, I really used "cvs tag -F -r1.5 tagname filename",
I did a mistake in my first post. :(

However, it doesn't work either.
--
Steven Ding
David Schwartz
2003-07-30 10:03:25 UTC
Permalink
Post by Steven
I'm sorry about that, I really used "cvs tag -F -r1.5 tagname filename",
I did a mistake in my first post. :(
However, it doesn't work either.
Why not post after you troubleshoot? Or if you already did some
troubleshooting why not post the results of that troubleshooting? For
example, 'cvs -t' is nice.

DS
Nils Petter Vaskinn
2003-07-30 10:23:50 UTC
Permalink
Post by Steven
I'm sorry about that, I really used "cvs tag -F -r1.5 tagname filename",
I did a mistake in my first post. :(
However, it doesn't work either.
tag.archive: dir/test...
cvs server: Pre-tag check failed
cvs [server aborted]: correct the above errors first!
It looks like there might be some kind of server side checking in place
before you're allowed to tag, and that this tag fails when you try to move
that tag.

You'll have to contact the administrator of the server and ask what kind
of checks there are, and how to bypass them (if you're allowed to).

Unless the server is yours in which case: "Shame on you for forgetting
about the pre tag checks" :)

hth
NPV
Steven
2003-07-30 10:30:52 UTC
Permalink
Post by Nils Petter Vaskinn
Post by Steven
I'm sorry about that, I really used "cvs tag -F -r1.5 tagname
filename", I did a mistake in my first post. :(
However, it doesn't work either.
tag.archive: dir/test...
cvs server: Pre-tag check failed
cvs [server aborted]: correct the above errors first!
It looks like there might be some kind of server side checking in
place before you're allowed to tag, and that this tag fails when you
try to move that tag.
You'll have to contact the administrator of the server and ask what
kind of checks there are, and how to bypass them (if you're allowed
to).
Unless the server is yours in which case: "Shame on you for forgetting
about the pre tag checks" :)
hth
NPV
Thank you very much!
There is really a checker "Bugzilla" blocks me! I forgot it and you
reminds me!
Thank you! :)
--
Steven Ding
Continue reading on narkive:
Loading...