Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgweb_mod.py @ 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 | 439e2f2fde42 |
children | 79373ec3f27d ed6df6b1c29a |
comparison
equal
deleted
inserted
replaced
5063:142a07e758c8 | 5064:ccdc8db02bdf |
---|---|
486 full, fnode = files[f] | 486 full, fnode = files[f] |
487 if fnode: | 487 if fnode: |
488 continue | 488 continue |
489 | 489 |
490 yield {"parity": parity.next(), | 490 yield {"parity": parity.next(), |
491 "path": os.path.join(abspath, f), | 491 "path": "%s%s" % (abspath, f), |
492 "basename": f[:-1]} | 492 "basename": f[:-1]} |
493 | 493 |
494 yield self.t("manifest", | 494 yield self.t("manifest", |
495 rev=ctx.rev(), | 495 rev=ctx.rev(), |
496 node=hex(node), | 496 node=hex(node), |