hgext/keyword.py
changeset 24272 26a1c617e047
parent 23879 b88278a308c6
child 24306 6ddc86eedc3b
--- a/hgext/keyword.py	Tue Mar 10 17:09:07 2015 -0700
+++ b/hgext/keyword.py	Tue Mar 10 17:14:33 2015 -0700
@@ -737,13 +737,7 @@
     extensions.wrapfunction(patch, 'diff', kw_diff)
     extensions.wrapfunction(cmdutil, 'amend', kw_amend)
     extensions.wrapfunction(cmdutil, 'copy', kw_copy)
+    extensions.wrapfunction(cmdutil, 'dorecord', kw_dorecord)
     for c in 'annotate changeset rev filediff diff'.split():
         extensions.wrapfunction(webcommands, c, kwweb_skip)
-    for name in recordextensions.split():
-        try:
-            record = extensions.find(name)
-            extensions.wrapfunction(record, 'dorecord', kw_dorecord)
-        except KeyError:
-            pass
-
     repo.__class__ = kwrepo