# HG changeset patch # User Augie Fackler # Date 1486155679 18000 # Node ID 8d7e40524ae467b3201e264e3548681c52bb6492 # Parent 3a4c0905f35770235eba12335574ef1b8e637892 cmdutil: remove forwarding methods per deprecation policy diff -r 3a4c0905f357 -r 8d7e40524ae4 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Fri Feb 03 15:10:27 2017 -0800 +++ b/mercurial/cmdutil.py Fri Feb 03 16:01:19 2017 -0500 @@ -26,14 +26,12 @@ changelog, copies, crecord as crecordmod, - dirstateguard as dirstateguardmod, encoding, error, formatter, graphmod, lock as lockmod, match as matchmod, - mergeutil, obsolete, patch, pathutil, @@ -3366,11 +3364,6 @@ return cmd -def checkunresolved(ms): - ms._repo.ui.deprecwarn('checkunresolved moved from cmdutil to mergeutil', - '4.1') - return mergeutil.checkunresolved(ms) - # a list of (ui, repo, otherpeer, opts, missing) functions called by # commands.outgoing. "missing" is "missing" of the result of # "findcommonoutgoing()" @@ -3477,10 +3470,3 @@ if after[1]: hint = after[0] raise error.Abort(_('no %s in progress') % task, hint=hint) - -class dirstateguard(dirstateguardmod.dirstateguard): - def __init__(self, repo, name): - dirstateguardmod.dirstateguard.__init__(self, repo, name) - repo.ui.deprecwarn( - 'dirstateguard has moved from cmdutil to dirstateguard', - '4.1')