##// END OF EJS Templates
hgwebdir: change os.sep in the name of repos to "/"
Alexis S. L. Carvalho -
r5063:142a07e7 default
parent child Browse files
Show More
@@ -17,7 +17,8 b' from hgweb_mod import hgweb'
17 class hgwebdir(object):
17 class hgwebdir(object):
18 def __init__(self, config, parentui=None):
18 def __init__(self, config, parentui=None):
19 def cleannames(items):
19 def cleannames(items):
20 return [(name.strip(os.sep), path) for name, path in items]
20 return [(util.pconvert(name.strip(os.sep)), path)
21 for name, path in items]
21
22
22 self.parentui = parentui
23 self.parentui = parentui
23 self.motd = None
24 self.motd = None
General Comments 0
You need to be logged in to leave comments. Login now