cmdutil: drop deprecated log helper methods (API)
authorAugie Fackler <augie@google.com>
Fri, 11 May 2018 00:54:12 -0400
changeset 38002 14f4449711b8
parent 38001 fb0de0bcd297
child 38003 000039f6ca2d
cmdutil: drop deprecated log helper methods (API)
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Thu May 10 21:53:48 2018 -0400
+++ b/mercurial/cmdutil.py	Fri May 11 00:54:12 2018 -0400
@@ -3253,23 +3253,3 @@
     if after[1]:
         hint = after[0]
     raise error.Abort(_('no %s in progress') % task, hint=hint)
-
-class changeset_printer(logcmdutil.changesetprinter):
-
-    def __init__(self, ui, *args, **kwargs):
-        msg = ("'cmdutil.changeset_printer' is deprecated, "
-               "use 'logcmdutil.logcmdutil'")
-        ui.deprecwarn(msg, "4.6")
-        super(changeset_printer, self).__init__(ui, *args, **kwargs)
-
-def displaygraph(ui, *args, **kwargs):
-    msg = ("'cmdutil.displaygraph' is deprecated, "
-           "use 'logcmdutil.displaygraph'")
-    ui.deprecwarn(msg, "4.6")
-    return logcmdutil.displaygraph(ui, *args, **kwargs)
-
-def show_changeset(ui, *args, **kwargs):
-    msg = ("'cmdutil.show_changeset' is deprecated, "
-           "use 'logcmdutil.changesetdisplayer'")
-    ui.deprecwarn(msg, "4.6")
-    return logcmdutil.changesetdisplayer(ui, *args, **kwargs)