LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2006, 04:10 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
CVS: cna't commit - says file is locked by someone who hasn't worked here for years


I may have cuased this to happen. I was trying to checkout an older version of the code to compare lots of little things. Rather than do a diff, I just tried to check it out with cvs checkout -d <some_date> foo.

In any event, now that I'm ready to check back in (to the current tree), cvs is giving me:
cvs server: [11:38:33] waiting for leo's lock in /cvs/path/foo

so... uhh... what now? Leo hasn't worked with us since '02. The last time I checked in (commited) code for this project was a few months ago.

 
Old 06-22-2006, 09:59 AM   #2
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Locks in CVS are just files beginning with #cvs.rfl (read lock), #cvs.wfl (write lock) or #cvs.pfl (promotable read lock). So to remove a lock, simply go to the directory (in the repository) and remove such files which are owned by Leo (of course you need proper permissions to do so)
 
Old 06-27-2006, 08:31 PM   #3
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Flesym
Locks in CVS are just files beginning with #cvs.rfl (read lock), #cvs.wfl (write lock) or #cvs.pfl (promotable read lock). So to remove a lock, simply go to the directory (in the repository) and remove such files which are owned by Leo (of course you need proper permissions to do so)
Just now getting back to this (and thanks for the response)...

so, in the repository (which, btw, was setup by leo), there are only two things that look like what you're talking about... #cvs.lock and #cvs.wfl.phil.307281. The former is an empty dir, the latter is an empty file. All other files in the directory are in the form filename,v - all owned by leo (as I would expect being that he setup CVS on that machine).

The exact message says:
cvs server: [15:57:16] waiting for leo's lock in /mnt/CVS/more_path/Vex

"Vex" is the directory which contains the files I'm trying to checkin. In the the directory that contains the "Vex" subdir, there's no #cvs... file.



other suggestions?

Last edited by BrianK; 06-27-2006 at 08:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cvs - require comments on commit Ratclaws Linux - Software 1 09-14-2005 01:38 AM
Dial-up on RH9: worked two years ago alar Linux - Networking 2 04-30-2005 05:01 PM
CVS won't allow "root" to commit changes RFlaugher Linux - Software 3 10-07-2004 02:43 PM
emailing on cvs commit allan_y Linux - Software 2 07-02-2004 09:30 AM
emailing people when cvs commit is done allan_y Linux - Software 1 05-28-2004 03:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration