all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Andy Moreton <andrewjmoreton@gmail.com>, 22032@debbugs.gnu.org
Cc: Glenn Hutchings <zondo42@gmail.com>
Subject: bug#22032: 24.3; VC doesn't handle hg hidden revisions
Date: Fri, 18 Dec 2015 07:02:46 +0200	[thread overview]
Message-ID: <56739376.30105@yandex.ru> (raw)
In-Reply-To: <86io3zf641.fsf@gmail.com>

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?





  reply	other threads:[~2015-12-18  5:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27 11:36 bug#22032: 24.3; VC doesn't handle hg hidden revisions Glenn Hutchings
2015-11-28  2:44 ` Dmitry Gutov
     [not found]   ` <5659C34E.4070300@gmail.com>
2015-11-28 18:09     ` Dmitry Gutov
2015-12-13 10:54       ` Glenn Hutchings
2015-12-14  3:30         ` Dmitry Gutov
     [not found]           ` <CA+hLqocwRQqXHZj1i8YOQiJS2c1nL7ahVP7OrdS=oizy=ct1XQ@mail.gmail.com>
2015-12-15 14:08             ` Dmitry Gutov
2015-12-15 23:53       ` Andy Moreton
2015-12-16  0:03         ` Dmitry Gutov
2015-12-16  3:02           ` Andy Moreton
2015-12-18  5:02             ` Dmitry Gutov [this message]
2015-12-22 20:17               ` Glenn Hutchings
2015-12-22 21:33                 ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56739376.30105@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=22032@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    --cc=zondo42@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.