hgweb: don't use os.path.join to build URL parts
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 05 Aug 2007 22:36:39 -0300
changeset 5064 ccdc8db02bdf
parent 5063 142a07e758c8
child 5065 b304c2496f52
hgweb: don't use os.path.join to build URL parts
mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py	Sun Aug 05 22:36:39 2007 -0300
+++ b/mercurial/hgweb/hgweb_mod.py	Sun Aug 05 22:36:39 2007 -0300
@@ -488,7 +488,7 @@
                     continue
 
                 yield {"parity": parity.next(),
-                       "path": os.path.join(abspath, f),
+                       "path": "%s%s" % (abspath, f),
                        "basename": f[:-1]}
 
         yield self.t("manifest",