# HG changeset patch # User Matt Harbison # Date 2019-12-18 02:15:59 # Node ID 9a3ac902d5976cbafba364621c2e9172b41118a4 # Parent 70abcb614a5c798e6e56d6b33c9f91dbc8642671 windows: clarify a comment about the hgrc search path The exe relative hgrc.d and the registry paths are not mutually exclusive. Differential Revision: https://phab.mercurial-scm.org/D7689 diff --git a/mercurial/scmwindows.py b/mercurial/scmwindows.py --- a/mercurial/scmwindows.py +++ b/mercurial/scmwindows.py @@ -34,7 +34,7 @@ def systemrcpath(): for f, kind in util.listdir(progrcd): if f.endswith(b'.rc'): rcpath.append(os.path.join(progrcd, f)) - # else look for a system rcpath in the registry + # next look for a system rcpath in the registry value = util.lookupreg( b'SOFTWARE\\Mercurial', None, winreg.HKEY_LOCAL_MACHINE )