mercurial/hgweb/hgwebdir_mod.py
changeset 5123 79373ec3f27d
parent 4957 cdd33a048289
parent 5063 142a07e758c8
child 5197 55860a45bbf2
--- 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