[Bug 5755] New: Uppercase section headings in hgrc or mercurial.ini do not work
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Thu Dec 7 08:44:30 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5755
Bug ID: 5755
Summary: Uppercase section headings in hgrc or mercurial.ini do
not work
Product: Mercurial
Version: 4.1.1
Hardware: PC
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: kurti.vdb at gmail.com
CC: mercurial-devel at mercurial-scm.org
When using uppercase section headings in any hgrc or mercurial.ini file, things
behave strange or stop working. Using e.g. an uppercase [PATHS] section results
in the 'abort: repository default not found!' error.
It seems that these section headings need to be lower case, although I cannot
find any references about this on the hgrc section page
(https://www.mercurial-scm.org/doc/hgrc.5.html). I thought the Python
ConfigParser.ConfigParser() is used for this and that its default behaviour is
to convert those names to lowercase. Tested this with version 4.0.1 and 4.1.1
Is this a document bug, or a bug in the parser?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list