bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38387: 27.0.50; [PATCH] vc-hg: use 'hg summary' to populate vc-dir h


From: Dmitry Gutov
Subject: bug#38387: 27.0.50; [PATCH] vc-hg: use 'hg summary' to populate vc-dir headers
Date: Wed, 27 Nov 2019 14:30:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Hi Andrii,

On 26.11.2019 17:16, Andrii Kolomoiets wrote:

By invoking single 'summary' command we can get more info about
repository state: parent revisions, current branch, tags, bookmarks,
commit status, available updates and phase.

I guess the questions are:

- Is this output better than the previous one? Hopefully others will chime in, e.g. Daniel, who wrote some major improvements to vc-hg a few years ago.

- Is 'hg summary' stable enough? Maybe a few years from now Mercurial changes its output and this code stops working in all Emacs we'd have released in the meantime? This is why we try to use "porcelain" level commands (in Git terminology) when possible, not user-level.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]