[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs commit: warning: editor session failed
From: |
John Smith |
Subject: |
Re: cvs commit: warning: editor session failed |
Date: |
17 Mar 2006 12:22:41 -0800 |
User-agent: |
G2/0.2 |
Koziel, Ryan wrote:
> I had problems using vim as my editor & cvs commit messages - similar to
> what you described. I ended up switching to just plain, old, vi.
>
> EDITOR=/usr/bin/vi
I tried:
export CVSEDITOR=/usr/bin/vi
(I also tried changing CVSEDITOR to EDITOR)
I still got:
"/tmp/cvsGyaqer" 13/476
cvs commit: warning: editor session failed
found this on google which I also tried:
cvs commit: warning: editor session failed
This means that the editor which cvs is using exits with a nonzero exit
status.
Some versions of vi will do this even when there was not a problem
editing the
file. If so, point the CVSEDITOR environment variable to a small script
such as:
#!/bin/sh
vi $*
exit 0
unfortunately, i got the same error:
cvs commit: warning: editor session failed
Please advise.