[PATCH 6 of 7] Remove {urlbase} backwards compatibility, use {baseurl} instead

Wesley J. Landaker wjl at icecavern.net
Thu Jul 12 15:48:50 CDT 2007


# HG changeset patch
# User Wesley J. Landaker <wjl at icecavern.net>
# Date 1184271653 21600
# Node ID 7755d7bc21215ce06c23a2530a35812faa020711
# Parent  eea41aa2b6d88d8cc7e60faa9289044eb5c79878
Remove {urlbase} backwards compatibility, use {baseurl} instead.

The parent changeset renamed {urlbase} to {baseurl} for various
good reasons. This patch removes the {urlbase} backwards compatibility
in case that is desired.

diff -r eea41aa2b6d8 -r 7755d7bc2121 mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py	Thu Jul 12 14:19:50 2007 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Jul 12 14:20:53 2007 -0600
@@ -811,7 +811,6 @@ class hgweb(object):
         self.t = templater.templater(mapfile, templater.common_filters,
                                      defaults={"url": req.url,
                                                "staticurl": staticurl,
-                                               "urlbase": baseurl,
                                                "baseurl": baseurl,
                                                "repo": self.reponame,
                                                "header": header,


More information about the Mercurial-devel mailing list