Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgwebdir_mod.py @ 5123:79373ec3f27d
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 06 Aug 2007 01:00:10 -0300 |
parents | cdd33a048289 142a07e758c8 |
children | 55860a45bbf2 |
line wrap: on
line diff
--- 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