Until 1d90731d6da41493d4cb990e8ba0b2ce59e76209 Ini4J was used to parse `.hg/hgrc`.

May be overkill to use Ini4J for this, but at least take into account the possibility that this file might be using sections (or better, research the current format), and behave gracefully in case some unexpected lines are encountered.