[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to `register' vc-hg-region-history in vc-region-history?
From: |
Stefan Monnier |
Subject: |
Re: how to `register' vc-hg-region-history in vc-region-history? |
Date: |
Thu, 18 Jan 2018 20:47:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (vc-call-backend 'hg 'diff file "HEAD" nil (current-buffer))
The purpose of this call is to get the diff between the current file's
contents and the contents of the version in which "git log -L" will
interpret the line numbers.
> Mercurial has no HEAD as part of a command. Would that be tip for
> mercurial?
Probably, but it depends on what version is used by `hg` when it
interprets the line numbers of `hg log -fp -L foo.c,10:20`.
Stefan