RE: HELP! I've shot myself in the foot!
Hi, this is something you will want to be careful with! MAKE SURE the process is not still running... In the info below you have the machine name, pilot, and the process id, 25274, which may be used to verify. Since you used cntl-c it most likely true that the process is not still running and in fact was not terminated properly so CVS could not do it's normal clean-up. These things happen, -Greg -Original Message- From: Schwenk, Jeanie [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 5:27 PM To: Cvs (E-mail) Subject: HELP! I've shot myself in the foot! Seriously though, I've been trying to purposely break things before the engineers get free reign cause they will break it. Ahem, I did a cntl-c while a very large commit was executing. I know what the problem is, it can't get a lock. Now the doc says to removethe files that start with `#cvs.rfl', `#cvs.wfl', or `#cvs.lock'. Ok but what about directories? Here's what I've got: #cvs.lock/ #cvs.wfl.pilot.25274 Now does anyone have a script written that will travers the repository and remove these offending items (like I said, a LARGE commit)? I'm hoping. If not, I intend to write one before I have a major fire. if there is any interest, where do I put something like that so everyone can access it? Thanks. Jeanie ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs cleanlocks.pl
RE: HELP! I've shot myself in the foot!
Greg, Thank you. Yes, these things do happen. And I did it on purpose realizing it would cause the lock. One of those things you know but don't really think it through until it's too late. Kind of like the first time I did an "rm -R *" and I was in the wrong directory when I did it. Better now than later though. Jeanie -Original Message- From: Greg Annett [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 6:17 PM To: Schwenk, Jeanie Cc: Cvs (E-mail) Subject: RE: HELP! I've shot myself in the foot! Hi, this is something you will want to be careful with! MAKE SURE the process is not still running... In the info below you have the machine name, pilot, and the process id, 25274, which may be used to verify. Since you used cntl-c it most likely true that the process is not still running and in fact was not terminated properly so CVS could not do it's normal clean-up. These things happen, -Greg -Original Message- From: Schwenk, Jeanie [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 5:27 PM To: Cvs (E-mail) Subject: HELP! I've shot myself in the foot! Seriously though, I've been trying to purposely break things before the engineers get free reign cause they will break it. Ahem, I did a cntl-c while a very large commit was executing. I know what the problem is, it can't get a lock. Now the doc says to removethe files that start with `#cvs.rfl', `#cvs.wfl', or `#cvs.lock'. Ok but what about directories? Here's what I've got: #cvs.lock/ #cvs.wfl.pilot.25274 Now does anyone have a script written that will travers the repository and remove these offending items (like I said, a LARGE commit)? I'm hoping. If not, I intend to write one before I have a major fire. if there is any interest, where do I put something like that so everyone can access it? Thanks. Jeanie ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: HELP! I've shot myself in the foot!
Do be certain you want to remove all the items mentioned. Then run these two commands to remove each. Those are not single-quote marks, they are backtics. /bin/rm -rf `find /path/to/the/head/of/your/problem/directory -name #cvs.lock` /bin/rm -rf `find /path/to/the/head/of/your/problem/directory -name #cvs..wfl.pilot.25274` For instance if I wanted to delete all files (and directories) named yousuck.txt from anywhere under my public_html directory, I would do /bin/rm -rf `find /home/tomki/public_html -name yousuck.txt` Caution is advised. --Tomki At 17:27 6/22/2001 -0700, Schwenk, Jeanie wrote: >Seriously though, I've been trying to purposely break things before the >engineers get free reign cause they will break it. Ahem, I did a cntl-c >while a very large commit was executing. > >I know what the problem is, it can't get a lock. Now the doc says to >removethe files that start with `#cvs.rfl', `#cvs.wfl', or `#cvs.lock'. Ok >but what about directories? Here's what I've got: > > #cvs.lock/ > #cvs.wfl.pilot.25274 > >Now does anyone have a script written that will travers the repository and >remove these offending items (like I said, a LARGE commit)? I'm hoping. If >not, I intend to write one before I have a major fire. if there is any >interest, where do I put something like that so everyone can access it? > >Thanks. > >Jeanie > > > >___ >Info-cvs mailing list >[EMAIL PROTECTED] >http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs