Problem with 'cvs commit' skipping or ignoring files or forgetting commits or something of that nature

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Basically, I change some files, commit, edit log, it then only commits some of the files, and ignores the others. The others ARE listed in the commit log, but after I save/quit the log, it will miss a file or two. The exact files it skips seems to be random (but it's usually the same one or two for a period of time, then it'll stop ignoring one of them, soon enough start ignoring a different file, etc.). After this, I try to commit again. Log pops back up, with the skipped files mentioned in the "edited files" section, I edit/save/quit the log, and it goes back to a prompt without doing anything. VERY annoying!

Any idea what is causing this?
 

kylef

Golden Member
Jan 25, 2000
1,430
0
0
Yikes! I hate to mention this here, but you might have to throw up a post on Ars about this... I'm not certain there are too many advanced developers around these parts. Or at least, ones that could diagnose a problem with CVS... ;)

Who is administering your CVS server?
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Do you have these files in your cvs ignore? I put certain types of files in my cvs ignore so I don't commit them. I often have a lot of ancillary files lying around my project folders.

I've never experienced the problem you've experiencing, especially since it appears to be random.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Descartes
Do you have these files in your cvs ignore? I put certain types of files in my cvs ignore so I don't commit them. I often have a lot of ancillary files lying around my project folders.

I've never experienced the problem you've experiencing, especially since it appears to be random.

Nope, no ignored files, the randomness stumps me too.

kylef, I am the one in charge of the server, it's running debian and I basically just apt-get install-ed cvs and then set up the repository and stuck my stuff in there. I have the exact same setup at home and I haven't seen this problem there (but I also haven't used the one at home much).

I'll try to remember to ask at ars (I don't go there much but I am registered).
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
% cvs commit
cvs commit: Examining .
cvs commit: Examining inc
cvs commit: Examining js
cvs commit: Examining old
cvs commit: Examining other
cvs commit: Examining psi
cvs commit: Examining util
(vi pops up)
blah blah enter changes here
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: inc/rep.class.php inc/spreadsheet.class.php
CVS: ----------------------------------------------------------------------
then i :wq

Then it just returns to a prompt!

edit: ha! I just figured out at least a way around it. If I just mangle the $Id$ tag at the top of the files, it'll fix the tag and commit them properly :)