From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#22032: 24.3; VC doesn't handle hg hidden revisions Date: Fri, 18 Dec 2015 07:02:46 +0200 Message-ID: <56739376.30105@yandex.ru> References: <56584054.5080100@gmail.com> <56591524.3010806@yandex.ru> <5659C34E.4070300@gmail.com> <5659EDD4.7030503@yandex.ru> <868u4vxo9n.fsf@gmail.com> <5670AA42.4090903@yandex.ru> <86io3zf641.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1450415004 13477 80.91.229.3 (18 Dec 2015 05:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2015 05:03:24 +0000 (UTC) Cc: Glenn Hutchings To: Andy Moreton , 22032@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 18 06:03:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a9nC9-000208-C2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Dec 2015 06:03:09 +0100 Original-Received: from localhost ([::1]:58405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9nC8-0002wB-R6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Dec 2015 00:03:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9nC5-0002w0-IU for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2015 00:03:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9nC2-0004k6-Ci for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2015 00:03:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9nC2-0004k2-8t for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2015 00:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a9nC2-0003ky-2U for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2015 00:03: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: Fri, 18 Dec 2015 05:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22032 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22032-submit@debbugs.gnu.org id=B22032.145041497614428 (code B ref 22032); Fri, 18 Dec 2015 05:03:02 +0000 Original-Received: (at 22032) by debbugs.gnu.org; 18 Dec 2015 05:02:56 +0000 Original-Received: from localhost ([127.0.0.1]:55026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9nBw-0003kd-0O for submit@debbugs.gnu.org; Fri, 18 Dec 2015 00:02:56 -0500 Original-Received: from mail-wm0-f51.google.com ([74.125.82.51]:34679) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9nBu-0003kO-M5 for 22032@debbugs.gnu.org; Fri, 18 Dec 2015 00:02:55 -0500 Original-Received: by mail-wm0-f51.google.com with SMTP id l126so50489298wml.1 for <22032@debbugs.gnu.org>; Thu, 17 Dec 2015 21:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=F1O1fy/b2PkauDTQ1ybRscnLC06ZymRJk+vdyW4KvlM=; b=Mdoj1wRKbevY1YrKBkcv4qourHFKgcu1YKItEep/QStSGVH2NzlVm+CzQC0puDchrA jd9Z+HwlyZ9g1hJKIA0SHL7UH/4ngIcmMORL3MknqTSz2QUKJOVXEI4DqurbETszy/3N jbzer5kKfC7feKy9MXgn7Wu+Lw4aU3mz0bY18QcoJX439OnD9kpTsQTIHRsjWcB8x+j9 JgDjgVIHcgjDvbny6LPdFe9dyeJRmMMRhOtXuKm2ZMEpSGFiFFjGYjK75aGvlQyq/VCS 7V2hw/1a3Veud15mG3Pm3+7XjrjxjyJ91uq8CYLFwhOTeI5Xu570FSbbDbQiY80ygDx+ DPrw== X-Received: by 10.194.90.243 with SMTP id bz19mr1563703wjb.128.1450414969099; Thu, 17 Dec 2015 21:02:49 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id w124sm5030389wmg.17.2015.12.17.21.02.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Dec 2015 21:02:47 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <86io3zf641.fsf@gmail.com> 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: 208.118.235.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:110101 Archived-At: On 12/16/2015 05:02 AM, Andy Moreton wrote: >> If there's a direct counterpart to 'git rev-parse 59951^', it would be handy >> here. > > You mean like the "hg id" line in the example above ? Um, yes. Thanks for the explanation, I've pushed the new definition of vc-hg-previous-revision that uses 'hg id -n -r 123^' to emacs-25. It seems to work fine, if a little surprising for merge commits when vc-hg-log-graph is nil (which it is by default). Also, calling Hg is not free, and adds ~120 ms on my machine. Glenn, could you if it solves the hidden revision problem as well?