When using cvs commit it askes for a message to log. If you keep this message empty it returns to cvs which says no message specified, continue, abort, etc. If you enter continue, it starts vi again for a message, but the input and output for vi are not coupled to the terminal (vi tells this). and you can't leave vi expect using ^C. Which leaves a lock on the cvs repository. my EDITOR variable is set to vi and vi is a symlink to vim
Well, vi and cvs save the log to a temp file in /temp, and upon closure of vi via ":wq", cvs automagically uses that temp file. //ZhEN
I don't think you understand my bug report. If you don't enter a comment, cvs will start vi a second time. except this time vi does not have a controling terminal, so that you can't type anything.
I guess my second comment would be, why arent you entering a comment? //ZhEN
Take, are you connecting to a remote CVS repository over ssh? The problem seems to come from vi being launched on the server end, not on your local machine. With strace I can see the error messages being relayed through the ssh connection to the local cvs process, which then prints them out. I do not see vi being exec'd a second time. This could be a bug in CVS. I don't see this problem when using a local repository. I agree the best workaround at this point is to avoid giving a blank comment, or chose 'abort' or 'edit' instead of 'continue'.
I sometimes don't enter a comment, because some diffs speak for them selfs and because I commit quite a lot. I use pserver and I see the same behavior, vi is started at the remote end.
This may be a cvs bug as stated by jrray, I will check on this. If this is a cvs bug, you will have to move this upstream to the cvs developers. Let me crunch on this some before you move upstream though. Thanks, //ZhEN
*** This bug has been marked as a duplicate of 11136 ***
dup issue
Bjb: I saw your name in the CVS ebuild, so I am reassigning this to you ;-) Cheers, //ZhEN
I think this has been fixed. I'm using cvs over ssh and vim. CVS version: 1.11.6 , ssh version: 3.7.1p2, vim version: 6.2-r3
closing