Skip to Content.
Sympa Menu

shibboleth-dev - problems generating diffs from Eclipse with anonymous CVS

Subject: Shibboleth Developers

List archive

problems generating diffs from Eclipse with anonymous CVS


Chronological Thread 
  • From: Ian Young <>
  • To:
  • Subject: problems generating diffs from Eclipse with anonymous CVS
  • Date: Fri, 08 Jul 2005 14:46:38 +0100

This has been causing me trouble for a while, maybe someone here can give me an idea as to what is going on.

I have the Java Shibboleth sources checked out into an Eclipse 3.1 project. As I'm not a committer to the project, I'm doing this from the anonymous CVS repository.

Now, when I want to generate a set of diffs for someone else to look at, the most natural thing would be to use Eclipse's built-in "Team | Create Patch..." facility on the project. Alas, this always fails as follows:

***
cvs diff -N -u "/shibboleth"
cvs diff: Diffing .
cvs diff: Diffing bin
cvs diff: Diffing conf
cvs diff: Diffing custom
cvs diff: Diffing data
cvs diff: Diffing doc
cvs diff: Diffing endorsed
cvs diff: Diffing lib
cvs diff: Diffing src
cvs diff: failed to create lock directory for `/home/cvs/shibboleth/CVSROOT/Emptydir' (/home/cvs/shibboleth/CVSROOT/Emptydir/#cvs.lock): Permission denied
cvs diff: failed to obtain dir lock in repository `/home/cvs/shibboleth/CVSROOT/Emptydir'
cvs [diff aborted]: read lock failed - giving up
failed due to an internal error (took 0:04.106)
Error: The server reported an error while performing the "cvs diff" command which may only indicate that a difference exists.
Error: shibboleth: cvs [diff aborted]: read lock failed - giving up
***

I'm not sure where the need for the lock is coming from (although I guess it's nice to do diffs against a stable system). If it is the CVS server at the repository doing this for my benefit, I guess this indicates there is some kind of permission problem in the anonymous repository. Could also be an Eclipse problem, of course, but I haven't been able to find anything about a bug like this elsewhere.

-- Ian



Archive powered by MHonArc 2.6.16.

Top of Page