mercurial/extensions.py
changeset 37957 fb0de0bcd297
parent 37084 f0b6fbea00cf
child 37973 5b60f7d652f2
--- a/mercurial/extensions.py	Fri May 11 00:53:29 2018 -0400
+++ b/mercurial/extensions.py	Thu May 10 21:53:48 2018 -0400
@@ -145,9 +145,6 @@
     """Check if extension commands have required attributes"""
     for c, e in cmdtable.iteritems():
         f = e[0]
-        if getattr(f, '_deprecatedregistrar', False):
-            ui.deprecwarn("cmdutil.command is deprecated, use "
-                          "registrar.command to register '%s'" % c, '4.6')
         missing = [a for a in _cmdfuncattrs if not util.safehasattr(f, a)]
         if not missing:
             continue