(0.9.2compat) use different names for web methods
Makes it clearer that these are not redefinitions of the same
methods.
--- a/hgkw/keyword.py Sun Feb 10 14:57:48 2008 +0100
+++ b/hgkw/keyword.py Sun Feb 10 17:09:22 2008 +0100
@@ -182,22 +182,22 @@
except ImportError:
from mercurial.hgweb.hgweb_mod import hgweb
- def _kwweb_changeset(self, req):
+ def _kwweb_do_changeset(self, req):
try:
_kwtemplater.matcher = util.never
except AttributeError:
pass
req.write(self.changeset(self.changectx(req)))
- def _kwweb_filediff(self, req):
+ def _kwweb_do_filediff(self, req):
try:
_kwtemplater.matcher = util.never
except AttributeError:
pass
req.write(self.filediff(self.filectx(req)))
- hgweb.do_changeset = hgweb.do_rev = _kwweb_changeset
- hgweb.do_filediff = hgweb.do_diff = _kwweb_filediff
+ hgweb.do_changeset = hgweb.do_rev = _kwweb_do_changeset
+ hgweb.do_filediff = hgweb.do_diff = _kwweb_do_filediff
try:
# templatefilters module introduced in 9f1e6ab76069