diff -r 487659a90497 -r 79373ec3f27d mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Aug 05 12:09:55 2007 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Mon Aug 06 01:00:10 2007 -0300 @@ -17,7 +17,8 @@ class hgwebdir(object): def __init__(self, config, parentui=None): def cleannames(items): - return [(name.strip(os.sep), path) for name, path in items] + return [(util.pconvert(name.strip(os.sep)), path) + for name, path in items] self.parentui = parentui self.motd = None