cvs-utils
[Top][All Lists]
Advanced

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

clcommit - questions from ssh are suppressed


From: Pavel Roskin
Subject: clcommit - questions from ssh are suppressed
Date: Wed, 27 Feb 2002 14:28:43 -0500 (EST)

Hello!

clcommit in the CVS version of cvs-util redirects stderr from cvs to 
/dev/null.  This is wrong - not only does it suppress possible error 
messages from cvs itself (you don't want to ignore them when you are 
committing stuff, do you?), but it also suppresses questions from ssh if 
the "ext" protocol is used.  ssh can ask for example:

The authenticity of host 'foo (10.1.1.1)' can't be established.
DSA key fingerprint is 12:34:...
Are you sure you want to continue connecting (yes/no)? 

But the user doesn't see the question and waits for clcommit to complete!

=======================
--- ChangeLog
+++ ChangeLog
@@ -1 +1,6 @@
+2002-02-27  Pavel Roskin  <address@hidden>
+
+       * clcommit: Don't redirect stderr from cvs to /dev/null, as it
+       suppresses important messages from ssh.
+
 2001-10-06  Gary V. Vaughan  <address@hidden>
--- clcommit
+++ clcommit
@@ -203,7 +203,7 @@
 
 $update && \
 if echo "$name: checking for conflicts..." >&2
-   ($CVS $cvsopt -q -n update $updateopt ${1+"$@"} 2>/dev/null \
+   ($CVS $cvsopt -q -n update $updateopt ${1+"$@"} \
     | while read line; do
        echo "$line"
        echo "$line" >&3
=======================

I know that I have write access, but I want at least one "Ok".

-- 
Regards,
Pavel Roskin




reply via email to

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