[PATCH 3 of 3] chg: detect chg started by chg

Yuya Nishihara yuya at tcha.org
Fri Feb 26 08:21:39 EST 2016


On Thu, 25 Feb 2016 16:05:44 +0000, Jun Wu wrote:
> On 02/25/2016 03:22 PM, Yuya Nishihara wrote:
> > Yep, it's better, but I can't say it's worth polluting environment variables.
> > My concern is the CHGMARK variable is visible to child processes. It might
> > be problem when simulating the hg behavior.
> >
> > Silly example:
> >
> >    $ hg --config='alias.x=!echo $CHGMARK' x
> 
> How about dropping it server side?

and the client can't overwrite CHGMARK because it may be set by user.


More information about the Mercurial-devel mailing list