changeset 5064:ccdc8db02bdf

hgweb: don't use os.path.join to build URL parts
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 05 Aug 2007 22:36:39 -0300
parents 142a07e758c8
children b304c2496f52
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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",