merge with crew.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Wed, 08 Mar 2006 11:21:45 -0800
changeset 1865 1ed809a2104e
parent 1864 7a09785d3237 (diff)
parent 1863 e8b86fb8ae33 (current diff)
child 1866 89a6ce5ae510
child 1867 91ebf29c1595
merge with crew.
contrib/hbisect.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