[PATCH] Support remote access to (some) "hgrc" parameters
Thomas Arendsen Hein
thomas at intevation.de
Thu Jan 10 14:38:54 UTC 2008
* Peter Arrenbrecht <peter.arrenbrecht at gmail.com> [20080110 09:49]:
> I just realized that "hg showconfig" uses your dot-notation, too. Hmm.
> -peo
>
> On Jan 9, 2008 7:53 PM, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
> > > Is there any convention for absolute parameter names? For example,
> > > what is the full name of the "bar" parameter here:
> > >
> > > [foo]
> > > bar = baz
> > >
> > > ? Maybe "foo.bar"?
> >
> > Consider
> >
> > [foo.bar]
> > baz = 1
> > [foo]
> > bar.baz = 1
> >
> > So I'd rather go for
> >
> > [publish]
> > foo]bar.baz =
> > foo.bar]baz =
> >
> > Admittedly ugly, but less ambiguous I think.
So section names should not contain dots anyway.
We can ignore this problem and use foo.bar
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list