From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9993: `vc-svn-checkin' needs "--non-interactive" Date: Thu, 10 Nov 2011 00:14:52 -0500 Message-ID: References: <0uzkg4n1je.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320902164 4517 80.91.229.12 (10 Nov 2011 05:16:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2011 05:16:04 +0000 (UTC) To: 9993@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 10 06:16:01 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ROMzX-0007ai-BE for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2011 06:15:59 +0100 Original-Received: from localhost ([::1]:49875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROMzW-0003b8-Mb for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2011 00:15:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROMzT-0003b0-Ip for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2011 00:15:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROMzR-0004MY-TO for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2011 00:15:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROMzR-0004MN-Ru for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2011 00:15:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ROMzZ-00041N-NF for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2011 00:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Nov 2011 05:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9993-submit@debbugs.gnu.org id=B9993.132090212115411 (code B ref 9993); Thu, 10 Nov 2011 05:16:01 +0000 Original-Received: (at 9993) by debbugs.gnu.org; 10 Nov 2011 05:15:21 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ROMyt-00040V-QN for submit@debbugs.gnu.org; Thu, 10 Nov 2011 00:15:20 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ROMyq-00040F-6R for 9993@debbugs.gnu.org; Thu, 10 Nov 2011 00:15:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqcHAKxdu05MCoYy/2dsb2JhbABCmm2POIEGgXIBAQQBViMQCzQSFBgNiDm4Fol/BIgMmWGESA X-IronPort-AV: E=Sophos;i="4.69,486,1315195200"; d="scan'208";a="147320268" Original-Received: from 76-10-134-50.dsl.teksavvy.com (HELO pastel.home) ([76.10.134.50]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 10 Nov 2011 00:14:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 21CB25936A; Thu, 10 Nov 2011 00:14:52 -0500 (EST) In-Reply-To: <0uzkg4n1je.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 09 Nov 2011 21:39:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Nov 2011 00:16:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53780 Archived-At: >>> or make vc-svn-command unconditionally add it >> That sounds right. > Done. >> We can add a comment in our code that --non-interactive is a workaround >> and that svn should do it automatically since we're using a pipe. > Gotta cater to the common use case of > find . -name '*.pdf' | xargs svn update Yes, I think the real test is not "is stdin a tty" but "are we connected to a tty", which would work right in both cases (an Emacs subprocess connected via a pipe does not have an associated tty whereas the above svn command would if typed in bash). Stefan