This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: CVS crashed on me, now I can't commit
- To: craig at jcb-sc dot com
- Subject: Re: CVS crashed on me, now I can't commit
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Mon, 22 Feb 1999 10:20:32 -0600
- Cc: egcs-patches at egcs dot cygnus dot com, law at cygnus dot com
- References: <19990222134636.23521.qmail@deer>
> Looks like there's at least one bug in CVS. It crashed on me due
> to some trivial bug, but, more worrisome, the *server* seems to have
> no ability to intelligently recover when a *client* crashes (which
> I would think includes a badly timed network outage).
Yes, this is a longstanding source of annoyance in CVS.
> Could someone at Cygnus fix this, or let me know how I can? (Looking
> up "lock" in the man page didn't show anything obvious.)
I've fixed this for you and I've included instructions for the "teach
a man to fish" department. It's worth noting that unless you are
absolutely certain that you know why the lock is "stuck" removing the
lock is an exceedingly bad plan. Th efollowing is for highly trained
professionals. CVS kids, don't try this at home.
$ slogin egcs.cygnus.com
[robertl@egcs]$ cd /egcs/carton/cvsfiles/egcs/gcc
[robertl@egcs]$ ls -al \#*
-rw-rw-r-- 1 burley anoncvs 0 Feb 22 05:32 #cvs.rfl.egcs.cygnus.com.20533
[robertl@egcs]$ rm #cvs.rfl.egcs.cygnus.com.20533
[robertl@egcs]$