bug-cvs
[Top][All Lists]
Advanced

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

Running editor while `cvs commit' not on terminal


From: Alexey Mahotkin
Subject: Running editor while `cvs commit' not on terminal
Date: Sun, 3 Jun 2001 20:41:05 +0400 (MSD)

I've seen several times report on the following misfeature: 

sometimes one inadvertantly runs 

          $ cvs commit > results 2>errors

After that things depend upon user's editor.  

In one case (vi not checking if on terminal) the user had to blindly
type "ESC:q!" and things seemed to be ok.


I checked that with VIM and got the following:

=== <errors> ===
cvs commit: Examining .
ex/vi: Vi's standard input and output must be a terminal
cvs commit: warning: editor session failed
=== </errors> ===

=== <stdout> ===
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue) Checking in hello.c;
/repos//testing/hello.c,v  <--  hello.c
new revision: 1.3; previous revision: 1.2
done
=== </stdout> ===


I think that it is rare but very annoying case that should be fixed.

--alexm



reply via email to

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