mercurial/hgweb.py
changeset 1795 36e19e3da12d
parent 1793 83c6d8355909
child 1796 a373881fdf2a
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -19,7 +19,7 @@ def templatepath():
     for f in "templates", "../templates":
         p = os.path.join(os.path.dirname(__file__), f)
         if os.path.isdir(p):
-            return p
+            return os.path.normpath(p)
 
 def age(x):
     def plural(t, c):