diff -r f1f8b655da32 -r fb0de0bcd297 mercurial/extensions.py --- 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