[PATCH] Per-host remotecmd option in .hgrc

Matt Mackall mpm at selenic.com
Mon Oct 3 14:45:46 CDT 2011

On Mon, 2011-10-03 at 23:27 +0400, Dmitry Samersoff wrote:
> Matt,
> On 2011-10-03 23:04, Matt Mackall wrote:
> > Those are both probably too ambitious as it means rewriting the config
> > parser and older Mercurials will explode when they see something like
> > this.
> Sure - it's why I would like to start from small patch.

Indeed, but we have to strike a balance between evolving the code
step-by-step and collecting a bunch of different intermediate schemes
that we have to support -forever-.

The right way to do this is to look ahead, figure out what you'd like it
to look like ideally, and progress towards that goal step-by-step.
In this case, this is what we should have done years ago: recognized
that we would eventually want per-host settings and not develop a bunch
of different ways to do it for different features.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial-devel mailing list