From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#31497: 27.0.50; vc-hg doesn't separate standard error from standard output Date: Thu, 10 Oct 2019 14:11:45 +0300 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="268913"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 31497@debbugs.gnu.org To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 13:12:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIWMj-0017mN-LK for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 13:12:17 +0200 Original-Received: from localhost ([::1]:36094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIWMh-0001O4-Is for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 07:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47798) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIWMV-0001Ne-QC for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIWMU-0004Pd-NY for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIWMU-0004PZ-Ke for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIWMU-0005Lo-F8 for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:12:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2019 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31497 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157070591620526 (code B ref -1); Thu, 10 Oct 2019 11:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2019 11:11:56 +0000 Original-Received: from localhost ([127.0.0.1]:55128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIWMN-0005Kv-W9 for submit@debbugs.gnu.org; Thu, 10 Oct 2019 07:11:56 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIWMN-0005Kk-0S for submit@debbugs.gnu.org; Thu, 10 Oct 2019 07:11:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47755) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIWML-0001MU-Qz for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:11:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIWMK-0004FU-5r for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:11:53 -0400 Original-Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:41087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIWMJ-0004EN-T3 for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2019 07:11:52 -0400 Original-Received: by mail-lj1-x242.google.com with SMTP id f5so5744844ljg.8 for ; Thu, 10 Oct 2019 04:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=XZZagQ1XoUgF0t77Ah5/LxJL3NbkP2itbD62wpXdiIY=; b=kpfgtV5FVPrJsk02Zis59ut+rimhz1F6933lurNPTW9KmB89Nkc179AHo2ZVgpagtx WdsnrZ0s/ewkkE///Zu/H7atB8MlG/xVBEmwj2jjM5gR3LK8cmXiRxWKltp5cd/StYGc Rq33wDRab3sZmAUZkzhlgop6VgzCZpxzApxtVyCVio+I43dKEqa9xfVqdtdPNF7D4ySd T+marSAExy/F5j7DqSAbLD+wLk7pAeCAGP3bCWZvUyA0feRO6E9DBY0tz4jZ7Km3PfRb 9ZYlpUACMZx2sZK3082YwpGkF8EdHPwMmaDcaLKck55oEdus4QqeouiNJvybGRqOhL5Z DhrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=XZZagQ1XoUgF0t77Ah5/LxJL3NbkP2itbD62wpXdiIY=; b=FNNt53924YuhprhYNcEr3o2uYtK+a7ZLJ5yB/3NY2/KRRRvWkZdYRvIbNCPEmJU6JW PDH+K2ewADYjLYqPf80rxEVE/3c/n23BWUnz0gdV/0mmak19dHNAIB2gQLwO9ztZyyPb Lcebc9EFs9+ywTnlORwlwrg0A/fsuTF9+l93nk34dG0iePl+o1hspBbtSM/cHWOgZbcw jSH+FHfKx9E89987kqRHvOUvxnyrlSow4PZhS6sQ1mjkMx7h9CKwOVrf19IR0DopDo5K LMKmA1nFLtjCOQNSGcu04Q+9aBhhXC68p8fUx+0a8AbSGaBnt2Egy6EkUVvz4dUmVNSa zFiQ== X-Gm-Message-State: APjAAAXPxAF1a9NsuLd3T1fS0RNYezqO4kQGk6R6t4HFxFgvU0u8BtEm tJ4yRj8JUr9LaI8mTnlNRQSk6s8N+J0= X-Google-Smtp-Source: APXvYqxgi3vKhP6YOcAEojZ8xL5klE2m3HttzPNN1wh27Jbfr54o3b2CgU+FAvTdUhiNVORU2luwDQ== X-Received: by 2002:a2e:97ca:: with SMTP id m10mr6155750ljj.190.1570705908359; Thu, 10 Oct 2019 04:11:48 -0700 (PDT) Original-Received: from [10.1.1.105] (188-42-207-82.ip.ukrtel.net. [82.207.42.188]) by smtp.gmail.com with ESMTPSA id s6sm1155668ljg.43.2019.10.10.04.11.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2019 04:11:47 -0700 (PDT) X-Mailer: Apple Mail (2.3594.4.19) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:168863 Archived-At: Lars Ingebrigtsen writes: >> $ hg log -l 1 -r . -T '{rev}' >> >> but that outputs >> >> not trusting file /tmp/hg/.hg/hgrc from untrusted user root, group root >> not trusting file /tmp/hg/.hg/hgrc from untrusted user root, group root > > filter out the "not trusting" lines, or is this just one of a > gazillion error messages that can be output here? Other errors also printed to stderr, so filtering out stderr completely can hide meaningful errors. This particular warning is also present in log and annotate buffers and completely messing up vc-dir buffer. There are option 'ui.report_untrusted' in hg since this commit: https://www.mercurial-scm.org/repo/hg/rev/97369f6a6bb6 It present in mercurial 2.6.2, the earliest version I found in pip. To filter out just "not trusting" warning I can propose to run hg like this: hg log --config ui.report_untrusted=0 -l 1 -r . -T '{rev}' or specify '--config ui.report_untrusted=0' as default value for vc-hg-global-switches I think 'pull' and 'push' are the only commands that must print this warning.