[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vc-region-history in HG]
From: |
Daniel Martín |
Subject: |
Re: [vc-region-history in HG] |
Date: |
Sun, 16 Oct 2022 12:51:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) |
Uwe Brauer <oub@mat.ucm.es> writes:
>
> I just realized that vc-region-history does not work in hg, in the sense
> that it just shows the changes in the whole buffer, while it works for
> git. I looked briefly at the code and could not find any special calls
> to git there.
>
> Any idea what could be the reason (not that there are very many HG users
> on this list...)?
In a git repository, the function delegates to the backend function
vc-git-region-history, which calls "git log -L" (requires git 1.8.4+).
If this cheatsheet is accurate,
https://hyperpolyglot.org/version-control, there is no direct Mercurial
alternative to git log -L ("commits which touched lines").
But perhaps we can implement the feature for Mercurial in some other
way.
- A vc wish: vc-timemachine, John Yates, 2022/10/15
- Re: A vc wish: vc-timemachine, John Yates, 2022/10/16
- Re: A vc wish: vc-timemachine, Dmitry Gutov, 2022/10/16
- Re: A vc wish: vc-timemachine, John Yates, 2022/10/16
- Re: A vc wish: vc-timemachine, Juri Linkov, 2022/10/17
- Re: A vc wish: vc-timemachine, John Yates, 2022/10/17
- Re: A vc wish: vc-timemachine, John Yates, 2022/10/17
- Re: A vc wish: vc-timemachine, Richard Stallman, 2022/10/18