[PATCH] Per-host remotecmd option in .hgrc

Matt Mackall mpm at selenic.com
Mon Oct 3 14:04:34 CDT 2011


On Mon, 2011-10-03 at 22:18 +0400, Dmitry Samersoff wrote:
> Matt,
> 
> One of possible *global* solution - per-host inner section in .hgrc file:
> 
> i.e. something like
> 
> [hosts *.mircat.net *.samersoff.net]
>    [ui]
>      ......
> 
> or ever
> 
> [if host in *.mircat.net *.samersoff.net]
>     [ui]
>       ....
> [endif]

Those are both probably too ambitious as it means rewriting the config
parser and older Mercurials will explode when they see something like
this.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list