Are Mercurial hgrc section headings lowercase?

54 Views Asked by At

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 like:

[PATHS]
default = http://myrepo

results in the following error:

abort: repository default not found!

It seems that these section headings need to be lower case, although I cannot find any references about this in the official hgrc section page. 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 4.0.1 and 4.1.1

But apparently not?

0

There are 0 best solutions below