changeset 43929:9a3ac902d597

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
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 17 Dec 2019 21:15:59 -0500
parents 70abcb614a5c
children fa3835a15a17
files mercurial/scmwindows.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
     )