##// END OF EJS Templates
windows: fix an issue causing registry config paths to be ignored on py3...
Matt Harbison -
r44571:a50fecef 5.2.1 stable
parent child Browse files
Show More
@@ -37,7 +37,7 b' def systemrcpath():'
37 37 value = util.lookupreg(
38 38 b'SOFTWARE\\Mercurial', None, winreg.HKEY_LOCAL_MACHINE
39 39 )
40 if not isinstance(value, str) or not value:
40 if not isinstance(value, bytes) or not value:
41 41 return rcpath
42 42 value = util.localpath(value)
43 43 for p in value.split(pycompat.ospathsep):
General Comments 0
You need to be logged in to leave comments. Login now