From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Daniel Colascione" Newsgroups: gmane.emacs.bugs Subject: bug#38387: 27.0.50; [PATCH] vc-hg: use 'hg summary' to populate vc-dir headers Date: Wed, 27 Nov 2019 10:53:10 -0800 Message-ID: <0366bc0bf7f7c65bdc5e869397d4c945.squirrel@dancol.org> References: <7505dd70-86c1-9576-5dc9-42b1abca519e@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="253029"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: SquirrelMail/1.4.23 [SVN] Cc: 38387@debbugs.gnu.org, Andrii Kolomoiets To: "Dmitry Gutov" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 19:56:21 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 1ia2U8-0013dG-4C for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 19:56:21 +0100 Original-Received: from localhost ([::1]:41876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia2U6-0005a5-Ak for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 13:56:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50739) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia2Rv-0003Sw-Ho for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 13:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ia2Ru-0001b7-H6 for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 13:54:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ia2Rt-0001aC-OS for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 13:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ia2Rt-0003UD-MX for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 13:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Daniel Colascione" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Nov 2019 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38387-submit@debbugs.gnu.org id=B38387.157488079613335 (code B ref 38387); Wed, 27 Nov 2019 18:54:01 +0000 Original-Received: (at 38387) by debbugs.gnu.org; 27 Nov 2019 18:53:16 +0000 Original-Received: from localhost ([127.0.0.1]:56214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ia2R9-0003T1-Li for submit@debbugs.gnu.org; Wed, 27 Nov 2019 13:53:15 -0500 Original-Received: from dancol.org ([96.126.100.184]:56980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ia2R7-0003St-JX for 38387@debbugs.gnu.org; Wed, 27 Nov 2019 13:53:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From: Subject:Date:References:In-Reply-To:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1L7UIJsmAqg58QAR2Ggy2ns2ymyIvdTLOTJE8fyy0ac=; b=QBvg30gglFv/VMBYRKC11FJeMv UfP5xSLa7Sx6bab2OBa1NCTGPa/8rNgp8/IUS3UvSqz+bNLdzYhAk4Yha2WX1y0WMV+DInWuB3JDc Tj203C/R/trHsaJhJdRdtZKCDJoDF6VrBb0ZsJV4xVZMT6KYbLhlFjLusrJ1MF706ZZfmum9QFg8Z Q5gWzM6FW8UOv+CiLYyZXtH9AKXi2Lh0aIziv4fAdkiv7K3KAE3m9LjD7qV6Frq+t/HhzulJFDu8+ l/B3FBAOlfL12D3eIvBZ/wlEBnQuN0WaLAqoSuEnf3QUZLWAG/k1RQDnf4j56dxhA7P5d9ZhXG15j ihYf4iXg==; Original-Received: from localhost ([127.0.0.1] helo=dancol.org) by dancol.org with esmtp (Exim 4.89) (envelope-from ) id 1ia2R3-0001Iw-Tx; Wed, 27 Nov 2019 10:53:10 -0800 Original-Received: from 127.0.0.1 (SquirrelMail authenticated user dancol) by dancol.org with HTTP; Wed, 27 Nov 2019 10:53:10 -0800 In-Reply-To: <7505dd70-86c1-9576-5dc9-42b1abca519e@yandex.ru> X-Priority: 3 (Normal) Importance: Normal 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:172551 Archived-At: > Hi Andrii, > > On 26.11.2019 17:16, Andrii Kolomoiets wrote: > >> By invoking single 'summary' command we can get more info about >> repository state: parent revisions, current branch, tags, bookmarks, >> commit status, available updates and phase. > > I guess the questions are: > > - Is this output better than the previous one? Hopefully others will > chime in, e.g. Daniel, who wrote some major improvements to vc-hg a few > years ago. > > - Is 'hg summary' stable enough? Maybe a few years from now Mercurial > changes its output and this code stops working in all Emacs we'd have > released in the meantime? This is why we try to use "porcelain" level > commands (in Git terminology) when possible, not user-level. > What's the performance of summary like these days?