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