From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63470: [PATCH] Use faster option for running vc-hg status Date: Sat, 13 May 2023 08:54:57 +0300 Message-ID: <83bkiobwsu.fsf@gnu.org> References: <83h6shbaiv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6277"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 63470@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 13 07:56:34 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pxiF7-0001Rc-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 May 2023 07:56:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxiEr-0007g1-F5; Sat, 13 May 2023 01:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxiEd-0007cy-33 for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:56:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxiEc-0003SZ-RF for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxiEc-0000Ly-Ny for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 01:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2023 05:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63470 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63470-submit@debbugs.gnu.org id=B63470.16839573051122 (code B ref 63470); Sat, 13 May 2023 05:56:02 +0000 Original-Received: (at 63470) by debbugs.gnu.org; 13 May 2023 05:55:05 +0000 Original-Received: from localhost ([127.0.0.1]:35434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxiDg-0000I1-SM for submit@debbugs.gnu.org; Sat, 13 May 2023 01:55:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxiDf-0000Gz-Mg for 63470@debbugs.gnu.org; Sat, 13 May 2023 01:55:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxiDa-000387-Ck; Sat, 13 May 2023 01:54:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BjmSK8v7gr81qai7tMvfKVWPUWsHLHoEi2rxrVignX8=; b=Tjx96PPOZ5RV PfyLGE50B52mik9I3aeUIhnCOCO+jfjKLZGd7/lWF8YbyvMLV2CYOEY+swe6H2wK83MgjHebk85Ox FJ9Q1xRORcsgP3L/SKtWisi1PW1JCCX/pVhXR2TjQKDaoRFREzr2TV4JUlDGYwsKDOnP2hZepaxl4 c4i2/+Zc3M2mAoDz3W6wKcjRq+36keaTLIXgJIZWCePuMKxfLc5QWjrzPC97HErs7/bAAD7SlDiGx lnz9QP30u+A0Mw/KYIMjHuEore+kM9lxnRBX3niaFxhw4ncpcJUO2RaBkEj+Nc/b/LU5cliI5xz89 emD94j753Is/SfS92YAM/A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxiDZ-0000CJ-Rt; Sat, 13 May 2023 01:54:58 -0400 In-Reply-To: (message from Dmitry Gutov on Fri, 12 May 2023 23:10:05 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261663 Archived-At: > Date: Fri, 12 May 2023 23:10:05 +0300 > Cc: 63470@debbugs.gnu.org > From: Dmitry Gutov > > On 12/05/2023 22:57, Spencer Baugh wrote: > > > > I could add a user option to revert to the old behavior, if you want. > > We could cache it like we do with vc-git--program-version. That's a > simple memoization that doesn't take the host into account (though that > could be implemented, too). Yes, that'd be a good-enough solution. > But it'd really make things easier if we're just allowed to rely on some > new enough versions of Git and Hg. It isn't easy to be backward-compatible, but we should strive at doing that.