expected behavior of "%unset" in configuration file
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Thu Apr 18 05:31:21 CDT 2013
Hi, devels.
"hg help config" says:
A line with ``%unset name`` will remove ``name`` from the current
section, if it has been set previously.
In this description, it is not explicitly described whether "%unset"
can remove the value which "has benn set" in another configuration
file read "previously" or not.
And current "ui"/"config" implementation doesn't remove such value.
"%unset" can remove only values set in same configuration file.
Is current behavior expected one ?
If current behavior is expected one, should it be described
explicitly, to prevent users from misunderstanding ? at least, I
misunderstood and confirmed with source code of Mercurial :-)
Or can native speakers read such meaning from above description ? If
so, I'll add translation note to translated version of "hg help
config" instead of adding explanation to original help text.
----------------------------------------------------------------------
[FUJIWARA Katsunori] foozy at lares.dti.ne.jp
More information about the Mercurial-devel
mailing list