Is "hg config --activate-extension fetch" possible?
Matt Mackall
mpm at selenic.com
Fri Oct 31 17:02:13 UTC 2008
On Fri, 2008-10-31 at 16:04 +0000, Dirkjan Ochtman wrote:
> Arne Babenhauserheide <arne_bab <at> web.de> writes:
> > I can think of ambiguity (which could be removed with clean commands), but
> > nothing else comes to mind which erases the advantage of making the activation
> > of an extension easier and faster (one command instead of editing a file).
>
> Mostly because the .ini format doesn't round-trip very well.
That and we have a bunch of them, which means inserting and deleting
needs to either have a ton of options or arbitrary rules for dealing
with precedence issues, never mind permissions.
It's just generally not a good idea to have programs editing the same
files that humans do.
And frankly, I disagree that it's easier and faster to do it on the
command line unless you're a) very intimately acquainted with hg's
obscure command line options and b) not very good with editors.
Even with systems like gconf and the Windows registry, where command
line editing is possible, people almost always tweak options via the
registry editor rather than on the command line.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list