[PATCH] Per-host remotecmd option in .hgrc

Mads Kiilerich mads at kiilerich.com
Fri Sep 30 18:11:42 CDT 2011

Matt Mackall wrote, On 09/30/2011 09:36 PM:
> On Thu, 2011-09-29 at 22:25 +0400, Dmitry Samersoff wrote:
>> dsamersoff: Per-host remotecmd option in .hgrc (issue359)
>> Patch below allows user to setup per-host remotecmd in the .hgrc file
>> in the form:
>> [ui]
>> remotecmd = /opt/bin/hg
>> remotecmd.mircat.net =/opt/csw/bin/hg
> Well I can't think of a better solution short of adding a bunch of
> per-host sections.

This adds another way of doing host-specifc configuration, different 
from what we already have for hostfingerprints and auth. I think it 
would be slightly better to add a remotecmd section. That could perhaps 
simplye be "implemented" by documenting it as
mircat.net = ...


More information about the Mercurial-devel mailing list