# HG changeset patch # User Christian Ebert # Date 1202659762 -3600 # Node ID 4a28faccdb189f77caecd4b5e0ba3ade083903cf # Parent 5e1faca15e81ce520eff4b316c01322d83a1d57c (0.9.2compat) use different names for web methods Makes it clearer that these are not redefinitions of the same methods. diff -r 5e1faca15e81 -r 4a28faccdb18 hgkw/keyword.py --- 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