Patchwork D7689: windows: clarify a comment about the hgrc search path

login
register
mail settings
Submitter phabricator
Date Dec. 18, 2019, 6:46 a.m.
Message ID <3f5990319f24b6037f75e41c1155c34f@localhost.localdomain>
Download mbox | patch
Permalink /patch/43960/
State Not Applicable
Headers show

Comments

phabricator - Dec. 18, 2019, 6:46 a.m.
Closed by commit rHG9a3ac902d597: windows: clarify a comment about the hgrc search path (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7689?vs=18834&id=18849

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7689/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7689

AFFECTED FILES
  mercurial/scmwindows.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/scmwindows.py b/mercurial/scmwindows.py
--- a/mercurial/scmwindows.py
+++ b/mercurial/scmwindows.py
@@ -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
     )