Personal computing discussed

Moderators: renee, SecretSquirrel, just brew it!

 
CampinCarl
Graphmaster Gerbil
Topic Author
Posts: 1363
Joined: Mon Jul 04, 2005 9:53 pm

Cannot Commit to CVS Server

Fri Aug 20, 2010 5:22 pm

Hey guys, I didn't know where to put this so I just decided the Dev. Den would work well.

Preface Information: Communicating over wireless to an old computer, running Xubuntu 10.04 and CVS via Pserver authentication on CVS version 1.12.13 client/server. Working on my Dell Laptop using Eclipse and Java is the language of choice in this case.

After my initial tribulations with Xubuntu (I ended up just buying a PCI Wireless NIC and using it, which works fine), I have been using the machine fine and dandy ever since.

However, recently (last couple of days), I have been unable to commit any changes to the CVS repositories. I can import projects, replace from head, etc., but any sort of write operations don't seem to work. The procedure hangs on "Receiving Server Response". I let it go for an hour at one point just to see what would happen, and it didn't budge an inch. I've been logging in as an anon user, and cvs owns all the folders for read, write, and execute, in the repos folder (all 4 show drwxrwxr -x).

The projects are not large, perhaps 4MB. I have even tried importing HEAD into a new project, making small changes...still nothing. I tried creating a new text file in an existing branch of the project, but outside of any packages, and committing that and it worked. A similar text file created inside of a package failed, however.

So it leads me to believe there is some problem with writing to the folders inside the project packages. However...what it is, or how to fix it, I have noooo clue. So I was wondering if any of all the knowledgeable gerbils here had any idea on how to fix this?
Gigabyte AB350M Gaming-3 | R7 1700X | 2x8 GB Corsair Vengeance DDR4-3200 (@DDR4-2933)| Samsung 960 Evo 1TB SSD | Gigabyte GTX1080 | Win 10 Pro x86-64
 
notfred
Maximum Gerbil
Posts: 4610
Joined: Tue Aug 10, 2004 10:10 am
Location: Ottawa, Canada

Re: Cannot Commit to CVS Server

Fri Aug 20, 2010 7:38 pm

It's going to be somewhere in the CVS permissions rather than the networking side of things - a CVS read will do sends and receives just like a CVS write - just a different proportion of each. Sorry I can't help more on CVS itself, I use Clearcase at work and SVN for my home projects.
 
CampinCarl
Graphmaster Gerbil
Topic Author
Posts: 1363
Joined: Mon Jul 04, 2005 9:53 pm

Re: Cannot Commit to CVS Server

Tue Aug 24, 2010 12:00 am

I figured it out. Somehow, during a commit, the connection was severed at one point in mid-commit, and so all of the files were still locked. For some reason, it wouldn't unlock them (even after a period of days). You'd think it would check the timestamp and remove write locks after a couple days, but I guess not. I just deleted all the lock files and everything worked great.

Took some digging to figure this out though; I didn't even know CVS used lock files :oops:
Gigabyte AB350M Gaming-3 | R7 1700X | 2x8 GB Corsair Vengeance DDR4-3200 (@DDR4-2933)| Samsung 960 Evo 1TB SSD | Gigabyte GTX1080 | Win 10 Pro x86-64
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Cannot Commit to CVS Server

Tue Aug 24, 2010 7:09 am

CampinCarl wrote:
I figured it out. Somehow, during a commit, the connection was severed at one point in mid-commit, and so all of the files were still locked. For some reason, it wouldn't unlock them (even after a period of days). You'd think it would check the timestamp and remove write locks after a couple days, but I guess not. I just deleted all the lock files and everything worked great.

Took some digging to figure this out though; I didn't even know CVS used lock files :oops:

Just one of the many reasons that CVS is considered to be obsolete...
Nostalgia isn't what it used to be.

Who is online

Users browsing this forum: No registered users and 9 guests
GZIP: On