Skip to Content.
Sympa Menu

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

Subject: Shibboleth Developers

List archive

Re: problems generating diffs from Eclipse with anonymous CVS


Chronological Thread 
  • From: Walter Hoehn <>
  • To: Ian Young <>
  • Cc:
  • Subject: Re: problems generating diffs from Eclipse with anonymous CVS
  • Date: Tue, 12 Jul 2005 17:19:53 -0500

Diff'ing a modified sandbox from anoncvs seems to work for me. I wonder whether the problem is specific to eclipse or to the sort of change you are making...

As far as the "permission denied" error, anoncvs has a read-only copy of the cvs repository; so that seems like it is probably correct behavior from the server end.

-Walter


On Jul 8, 2005, at 8:46 AM, Ian Young wrote:

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