##// END OF EJS Templates
py3: make scmposix.userrcpath() return bytes...
Pulkit Goyal -
r30276:c90a0512 default
parent child Browse files
Show More
@@ -4,6 +4,7 b' import os'
4 import sys
4 import sys
5
5
6 from . import (
6 from . import (
7 encoding,
7 osutil,
8 osutil,
8 )
9 )
9
10
@@ -34,6 +35,6 b' def systemrcpath():'
34
35
35 def userrcpath():
36 def userrcpath():
36 if sys.platform == 'plan9':
37 if sys.platform == 'plan9':
37 return [os.environ['home'] + '/lib/hgrc']
38 return [encoding.environ['home'] + '/lib/hgrc']
38 else:
39 else:
39 return [os.path.expanduser('~/.hgrc')]
40 return [os.path.expanduser('~/.hgrc')]
General Comments 0
You need to be logged in to leave comments. Login now