Mercurial > hg-stable
changeset 38002:14f4449711b8
cmdutil: drop deprecated log helper methods (API)
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 11 May 2018 00:54:12 -0400 |
parents | fb0de0bcd297 |
children | 000039f6ca2d |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- 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)