# HG changeset patch # User Matt Harbison # Date 1576635359 18000 # 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 -r 70abcb614a5c -r 9a3ac902d597 mercurial/scmwindows.py --- a/mercurial/scmwindows.py Tue Dec 17 21:12:17 2019 -0500 +++ b/mercurial/scmwindows.py Tue Dec 17 21:15:59 2019 -0500 @@ -34,7 +34,7 @@ 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 )