Fix manifest view on Windows
authorLee Cantey <lcantey@gmail.com>
Wed, 08 Mar 2006 11:20:39 -0800
changeset 1864 7a09785d3237
parent 1860 97f07d311a50
child 1865 1ed809a2104e
Fix manifest view on Windows
mercurial/hgweb.py
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -851,7 +851,7 @@ class hgweb(object):
 
     def run(self, req=hgrequest()):
         def clean(path):
-            p = os.path.normpath(path)
+            p = util.normpath(path)
             if p[:2] == "..":
                 raise "suspicious path"
             return p