scmwindows.systemrcpath can return [], causing crash in paths[0] when trying to create a new global config file. The output from hg config --debug is also not as helpful on windows as it is on posix where it shows non-existing files it would like to read (such as /etc/mercurial/hgrc). I guess the best solution is to redefine the the exact semantics on windows and let it read all the global config files - not just the first one. The documentation already seems to suggest that.
Confirming first clause of this, we'll pretend submitter didn't mention the second in the same issue.
Both clauses have the same root cause: scmwindows.systemrcpath can return [].
Bug was inactive for 180 days, archiving
kiilerix: was this fixed?
Fixed by: changeset: 31300:adae8928fe09 user: Mads Kiilerich <madski@unity3d.com> date: Mon Oct 12 20:13:12 2015 +0200 summary: windows: read all global config files, not just the first (issue4491) (BC)
Bug was set to TESTING for 7 days, resolving