bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repository is broken


From: Larry Jones
Subject: Re: repository is broken
Date: Fri, 27 Apr 2001 16:05:24 -0400 (EDT)

Martin Neitzel writes:
> 
> > cvs [server aborted]: "update" requires write access to the repository
> 
> I can ACK this bug here, too, and give a few more details.  The pserver
> was upgrade to 11.1.0.1 from cvs just shortly ago (one or two weeks).
> It happens with both current 1.11.0.1 and older 1.10.?? clients.
> The "requires write access to the repo" msg appears for example in the
> "diff", "-n update", "co -c" cmds.

It's my fault -- the change I committed on 2001-03-29 contained a
nefarious typo that broke read-only pserver access.  I've already
committed a fix, but that won't help CVS 1.11.1.  I've asked Derek Price
to either upgrade the cvshome.org server to the current developement
version or downgrade it to 1.11.  Here's a patch for the desperate:

Index: main.c
===================================================================
RCS file: /home2/cvsroot/ccvs/src/main.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- main.c      20 Apr 2001 16:13:12 -0000      1.165
+++ main.c      27 Apr 2001 15:46:55 -0000      1.166
@@ -329,7 +329,7 @@
 
     for (cm = cmds; cm->fullname; cm++)
     {
-       if (strcmp (command_name, cm->fullname) == 0)
+       if (strcmp (cmd_name, cm->fullname) == 0)
            break;
     }
     return cm->attr;

-Larry Jones

Your gender would be a lot more tolerable if it wasn't so darn cynical!
-- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]