[PATCH 2 of 2] commit: add ability to print file status after each successful invocation

Augie Fackler raf at durin42.com
Sat May 4 18:05:21 EDT 2019



> On May 4, 2019, at 16:35, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:
> 
> 
> 
> On 5/4/19 6:29 PM, Martin von Zweigbergk via Mercurial-devel wrote:
>> I feel like this feature goes against the idea of orthogonal commands and that it could easily be achieved with a hook. Is it a common enough request to have it in core? OTOH, it's a very simple feature, so I'm not too concerned with having it in core.
> 
> It would have to be a shell hooks, since we don't have a stable python API hooks. If this is a shell hook it means an extra Mercurila invocation and second full status call. These are can be pretty expensive.

Yep - that was my reasoning, which maybe I should have mentioned. It seems like a pretty cheap thing to maintain for the amount of win it is.


More information about the Mercurial-devel mailing list