changeset 5585:b34028d52e7e

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Sun, 02 Dec 2007 19:45:38 +0100
parents 1b5b81d9039b (current diff) d2831a5d5947 (diff)
children b90b72729a72
files mercurial/hgweb/hgwebdir_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Dec 02 17:15:03 2007 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Dec 02 19:45:38 2007 +0100
@@ -17,7 +17,7 @@
 class hgwebdir(object):
     def __init__(self, config, parentui=None):
         def cleannames(items):
-            return [(util.pconvert(name.strip(os.sep)), path)
+            return [(util.pconvert(name).strip('/'), path)
                     for name, path in items]
 
         self.parentui = parentui