bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible lockups of modules in cvs pserver 0.11.2


From: Jakub Bogusz
Subject: possible lockups of modules in cvs pserver 0.11.2
Date: Wed, 31 Jul 2002 22:32:06 +0200
User-agent: Mutt/1.4i

After upgrading cvs on cvs.pld.org.pl (server running under Linux,
accessed by pserver method) we were suffering from frequent lockups
of the most often used modules. It turned out, that when module was
locked, $EDITOR (vi) was spawned on _server_.

Then I found the way to lock module deterministically (with cvs 0.11.2
on Linux, both on client and server side):
- get some file from cvs, change it
- type "cvs commit file"
- when editor is spawned to type commit message - just exit
- cvs client asks what to do - choose "continue"
- after above, editor is spawned on server and whole module where file
  was placed is locked.

My fix was simple - just set use_editor=0 in server code, before passing
control to actual cvs functions. It's working. See attached patch.


-- 
Jakub Bogusz    http://prioris.mini.pw.edu.pl/~qboosh/
PLD Linux       http://www.pld.org.pl/

Attachment: cvs-pserver-dos.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]