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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat May 4 16:35:39 EDT 2019



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.

> 
> *From: *Augie Fackler <raf at durin42.com <mailto:raf at durin42.com>>
> *Date: *Sat, May 4, 2019 at 7:40 AM
> *To: *Anton Shestakov
> *Cc: * <mercurial-devel at mercurial-scm.org 
> <mailto:mercurial-devel at mercurial-scm.org>>
> 
> 
> 
>      > On May 4, 2019, at 00:46, Anton Shestakov <av6 at dwimlabs.net
>     <mailto:av6 at dwimlabs.net>> wrote:
>      >
>      > # HG changeset patch
>      > # User Anton Shestakov <av6 at dwimlabs.net <mailto:av6 at dwimlabs.net>>
>      > # Date 1556863876 -28800
>      > #      Fri May 03 14:11:16 2019 +0800
>      > # Node ID f95f3e733b24730f8ad5874150c2eefb9123a482
>      > # Parent  49d7c0579df397ff05941d09ce97967e6ca9d53e
>      > # EXP-Topic post-commit-status
>      > commit: add ability to print file status after each successful
>     invocation
> 
>     sure, queued, thanks
> 
>     _______________________________________________
>     Mercurial-devel mailing list
>     Mercurial-devel at mercurial-scm.org
>     <mailto:Mercurial-devel at mercurial-scm.org>
>     https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
> 
> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
> 

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list