command isnt correct. Depending on the cvs version you are using it should
be:

 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.

>>>>> probably your commands misses the '-r' flag for the tag name.

detlef

-----Original Message-----
From: otisg [mailto:otisg@;ureach.com]
Sent: Tuesday, October 29, 2002 12:18 AM
To: [EMAIL PROTECTED]
Subject: Tagging CVS from Ant - errors


Hello,

I'm trying to tag the source under CVS using
Ant.

This is how I am trying to do it (IP is
changed):

    <cvs
cvsRoot=":pserver:[EMAIL PROTECTED]:/home/cvs/repository"
         package="mclass"
         command="tag -F my-tag Foo"
         noexec="true">
    </cvs>

I am getting this error:

      [cvs] Using cvs passfile:
/home/otis/.cvspass
      [cvs] cvs server: nothing known about Foo
      [cvs] cvs server: nothing known about
mclass
      [cvs] cvs [server aborted]: correct
the above errors first!


I looked through the mailing list archives,
but didn't find any answers that worked for me.
I tried using rtag instead of tag, too,
without success.

Thanks,
Otis


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to