Eclipse & CVS

From: Patrick (googleaddress_at_yahoo.co.uk)
Date: 01/20/05


Date: 19 Jan 2005 16:36:21 -0800

I have been trying to use Eclipses CVS client to TAG my project.
However, I keep getting an error, here is the associated command and
error outputed by Eclipse.

***
cvs tag "/MYPROJECT/Tag_Version_01" "/MYPROJECT"
    cvs tag: failed to create lock directory for
`/cvs/stdk/CVSROOT/Emptydir' (/cvs/stdk/CVSROOT/Emptydir/#cvs.lock):
Permission denied
    cvs tag: failed to obtain dir lock in repository
`/cvs/stdk/CVSROOT/Emptydir'
    cvs [tag aborted]: read lock failed - giving up
The server reported an error while performing the "cvs tag" command.
(took 0:00.511)
Error: MYPROJECT: cvs tag: failed to create lock directory for
`/cvs/stdk/CVSROOT/Emptydir' (/cvs/stdk/CVSROOT/Emptydir/#cvs.lock):
Permission denied
Error: MYPROJECT: cvs tag: failed to obtain dir lock in repository
`/cvs/stdk/CVSROOT/Emptydir'
Error: MYPROJECT: cvs [tag aborted]: read lock failed - giving up
***

When I run the same command from the command line (using Cygwins CVS
client) I get the following...

$ cvs tag "/MYPROJECT/Tag_Version_01" "/MYPROJECT"
cvs [tag aborted]: tag `/MYPROJECT/Tag_Version_01' must start with a
letter

When I run

$ cvs tag "MYPROJECT/Tag_Version_01" "MYPROJECT"

It works!

So it would seem that the problem is with Eclipse and the manner with
which it forms the tag.

Has anyone else had this problem?
How do I get eclispse to form the tag correctly?

To tag I just right-click on my project (MYPROJECT) then Team->Tag as
version, and enter the tag name (Tag_Version_01).

Maybe I am doing something wrong?

Any help greatly appreciated,

Pat.

p.s.

My Version of Eclipse is...

Version: 3.0.1
Build id: 200409161125



Relevant Pages

  • Re: CVS is dead
    ... Do you know that a tag isn't necessarily a branch (not even on CVS)? ... You need to branch to be able to commit to a *sticky tag*. ... not even exist in your copy of the repository. ...
    (Fedora)
  • Problems with Eclipse & CVS....
    ... I have been trying to use Eclipses CVS client to TAG my project. ... failed to obtain dir lock in repository ... The server reported an error while performing the "cvs tag" command. ...
    (comp.lang.java.help)
  • Re: 5.3-STABLE ????
    ... >> just technical changes to the CVS repository and that all they do is ... Your 4.x-STABLE boxes will be using the RELENG_4 tag in their sup ... The relationship between the most commonly used CVS tags and OS ...
    (freebsd-questions)
  • Re: cvsup with tag=. on src and upgrading (in general)
    ... >The documentation says tag=. ... >Did I do something wrong with the cvsup file? ... If you want the CVS directories, ... Also note that if you use no-tag, you get the CVS repository. ...
    (freebsd-stable)
  • Re: Eclipse and CVS
    ... | Anyone got Eclipse and CVS playing nicely together? ... and would like to use cvs for versionning. ... command line client. ... | Another cvs-server my friend is already using (some CVSNT i know nothing ...
    (Debian-User)