# HG changeset patch # User Lee Cantey # Date 1140692559 -3600 # Node ID 36e19e3da12d88fab7608efde8c5c3a981357174 # Parent 98b6c1cad58b6f92b045c015095c14ff66d9e1cd Fix 'hg serve' not using CSS. hgweb.py (templatepath): Return normalized path [fixes later checks in staticfile()] diff -r 98b6c1cad58b -r 36e19e3da12d mercurial/hgweb.py --- a/mercurial/hgweb.py Thu Feb 23 02:17:08 2006 +0100 +++ b/mercurial/hgweb.py Thu Feb 23 12:02:39 2006 +0100 @@ -19,7 +19,7 @@ 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):