Mercurial > hg > mercurial-crew-with-dirclash
changeset 5078:142a07e758c8
hgwebdir: change os.sep in the name of repos to "/"
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 05 Aug 2007 22:36:39 -0300 |
parents | 3d35c8cb5eb4 |
children | ccdc8db02bdf |
files | mercurial/hgweb/hgwebdir_mod.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py +++ b/mercurial/hgweb/hgwebdir_mod.py @@ -17,7 +17,8 @@ from hgweb_mod import hgweb 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