hgkw/keyword.py
branch0.9.2compat
changeset 400 4a28faccdb18
parent 399 5e1faca15e81
child 402 5e3707030bce
--- 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