"read lock failed" at cvs annotate

Posted by idrosid on Stack Overflow See other posts from Stack Overflow or by idrosid
Published on 2008-10-10T10:51:40Z Indexed on 2010/06/14 0:32 UTC
Read the original article Hit count: 510

Filed under:
|
|

I am trying to use cvs annotate. This is the what I run:

cvs -d /mycvs/cvsroot/ annotate "projects/dg/SomeClass.java"

However, I get the following error:

cvs annotate: failed to create lock directory for `/mycvs/cvsroot/projects/dg^M' (/mycvs/cvsroot/projects/dg^M/#cvs.lock): No such file or directory
cvs annotate: failed to obtain dir lock in repository `/mycvs/cvsroot/projects/dg^M'
cvs [annotate aborted]: read lock failed - giving up

What does this mean? How can I overcome this problem? Could it be related to the ^M character I see at the error message?

When I use eclipse to do the annotation it works. I checked and the directory `/mycvs/cvsroot/projects/dg' exists. The error also occurs when I'm logged in as root, so probably it's not a permissions issue either.

I am using CentOS

© Stack Overflow or respective owner

Related posts about cvs

Related posts about lock