From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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 14:30:13 +0200 Message-ID: <7505dd70-86c1-9576-5dc9-42b1abca519e@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224794"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 To: Andrii Kolomoiets , 38387@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 13:37:52 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 1iZwZr-000wLC-O5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 13:37:51 +0100 Original-Received: from localhost ([::1]:37730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZwZq-0007xW-EX for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 07:37:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55490) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZwTR-0005jT-56 for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 07:31:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZwTN-0007Sv-3d for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 07:31:12 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZwTG-0007Jr-EW for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 07:31:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZwTG-0004V2-AX for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 07:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Nov 2019 12:31:02 +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.157485782315287 (code B ref 38387); Wed, 27 Nov 2019 12:31:02 +0000 Original-Received: (at 38387) by debbugs.gnu.org; 27 Nov 2019 12:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:53626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwSc-0003yF-Qe for submit@debbugs.gnu.org; Wed, 27 Nov 2019 07:30:22 -0500 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:39475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwSb-0003sN-GF for 38387@debbugs.gnu.org; Wed, 27 Nov 2019 07:30:21 -0500 Original-Received: by mail-wm1-f46.google.com with SMTP id s14so462017wmh.4 for <38387@debbugs.gnu.org>; Wed, 27 Nov 2019 04:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=o+L+ZjAncI7c9ko16WiKiOvrsqDB2rQ5/yOs20W9Fz0=; b=oNyXRWkWRSz5yoR1zY3ZF2WQiKz+iEY5vGNp6d47AFC++3JWn3FApU6Wfyy0jWQ+bu 0lhpWpUR6f9Ue8e69MFuMw1Jt9jlLhOO47fSDkbtSh1dAniupXKuSwstCcl5ZiuDo1xu JNiYJ8GCJgZ3ylImeSUJYZLGrwRN/gBF3KCRrEF05q5B78C1kjaiu+rp1/iyM4BKL3Py H1hJ1gPIh8ZmEyXD+0ovpT5rlc70cGBr4Gz8IVpRAgGUR2dbwRrBSaLJJb2ijvjcScBs JRq23877iG6nDCGoaJZY/x2rHykiMyLOq5iMi1XIzIHT1RyCR6bQeEEcVN9A20FIHayd dmdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=o+L+ZjAncI7c9ko16WiKiOvrsqDB2rQ5/yOs20W9Fz0=; b=fIlhs4W4n3DkWoH7TsGfi/EbD90nj5EZbUMYbW0McpmaW7EVNk2ET4BPp733sTrgj3 tPPAnOgMtrBsOOvDm/8yIL5b1HM55Uz3j7TMpy/CIg2LjbOK+gQM3tWEUkug6DzpOTX8 0duNW47iXswPnekX85yaHfe69S+ScHxLuXv0BaiaTCFEa1zf8G3FgzNRfKnh/ay0nn09 CL6Iu7TdQgan8291l0ApPcyLa41RfAodf7Y4lg4F/ykHINUBlK8ZOZGx/62DhebEqoXz RcZscRzQLogGc6LGVQh/OI4AIKGpulqVLzU7U4xaDo5pV6BcXFjLH5LGY2gpKRGenCGe lZVw== X-Gm-Message-State: APjAAAU0HQ4O/g2xJpeLDwrvPIWOEyGa+pCZdCRuXXt7WT5cU7Wn4y1i ASJjH88k6k5eFzBlCrhAGs8= X-Google-Smtp-Source: APXvYqzXhY0p84Dd6U8DKwU1PzZvl+s9FcJtwdDYUtzqKlwNvkQnp5P4hmZjhbhXwlAZsHe3dRKsTw== X-Received: by 2002:a1c:7911:: with SMTP id l17mr989447wme.44.1574857815584; Wed, 27 Nov 2019 04:30:15 -0800 (PST) Original-Received: from [192.168.0.5] ([212.50.117.215]) by smtp.googlemail.com with ESMTPSA id j67sm6919298wmb.43.2019.11.27.04.30.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2019 04:30:15 -0800 (PST) In-Reply-To: Content-Language: en-US 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:172530 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.