windows: clarify a comment about the hgrc search path
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 17 Dec 2019 21:15:59 -0500
changeset 43923 9a3ac902d597
parent 43922 70abcb614a5c
child 43924 fa3835a15a17
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
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
     )