##// END OF EJS Templates
hgweb: inform hgweb.hgweb() entrypoint that paths should be bytes...
Augie Fackler -
r37763:42567ffa default
parent child Browse files
Show More
@@ -38,7 +38,7 b' def hgweb(config, name=None, baseui=None'
38 - list of virtual:real tuples (multi-repo view)
38 - list of virtual:real tuples (multi-repo view)
39 '''
39 '''
40
40
41 if ((isinstance(config, str) and not os.path.isdir(config)) or
41 if ((isinstance(config, bytes) and not os.path.isdir(config)) or
42 isinstance(config, dict) or isinstance(config, list)):
42 isinstance(config, dict) or isinstance(config, list)):
43 # create a multi-dir interface
43 # create a multi-dir interface
44 return hgwebdir_mod.hgwebdir(config, baseui=baseui)
44 return hgwebdir_mod.hgwebdir(config, baseui=baseui)
General Comments 0
You need to be logged in to leave comments. Login now