Patchwork [11,of,12] util: drop deprecated forwarding to procutil

login
register
mail settings
Submitter Matt Harbison
Date May 11, 2018, 5:11 a.m.
Message ID <f49052e7818e9ba5a863.1526015484@Envy>
Download mbox | patch
Permalink /patch/31500/
State Accepted
Headers show

Comments

Matt Harbison - May 11, 2018, 5:11 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1526002879 14400
#      Thu May 10 21:41:19 2018 -0400
# Node ID f49052e7818e9ba5a8637ff7d3da6a8b9f209d6d
# Parent  4f38912f69dc5709c0994a43741b91cf0bafcde4
util: drop deprecated forwarding to procutil

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -3803,53 +3803,5 @@  extendeddateformats = dateutil.extendedd
 stderr = procutil.stderr
 stdin = procutil.stdin
 stdout = procutil.stdout
-explainexit = _deprecatedfunc(procutil.explainexit, '4.6',
-                              modname='utils.procutil')
-findexe = _deprecatedfunc(procutil.findexe, '4.6', modname='utils.procutil')
-getuser = _deprecatedfunc(procutil.getuser, '4.6', modname='utils.procutil')
-getpid = _deprecatedfunc(procutil.getpid, '4.6', modname='utils.procutil')
-hidewindow = _deprecatedfunc(procutil.hidewindow, '4.6',
-                             modname='utils.procutil')
-popen = _deprecatedfunc(procutil.popen, '4.6', modname='utils.procutil')
-quotecommand = _deprecatedfunc(procutil.quotecommand, '4.6',
-                               modname='utils.procutil')
-readpipe = _deprecatedfunc(procutil.readpipe, '4.6', modname='utils.procutil')
-setbinary = _deprecatedfunc(procutil.setbinary, '4.6', modname='utils.procutil')
-setsignalhandler = _deprecatedfunc(procutil.setsignalhandler, '4.6',
-                                   modname='utils.procutil')
-shellquote = _deprecatedfunc(procutil.shellquote, '4.6',
-                             modname='utils.procutil')
-shellsplit = _deprecatedfunc(procutil.shellsplit, '4.6',
-                             modname='utils.procutil')
-spawndetached = _deprecatedfunc(procutil.spawndetached, '4.6',
-                                modname='utils.procutil')
-sshargs = _deprecatedfunc(procutil.sshargs, '4.6', modname='utils.procutil')
-testpid = _deprecatedfunc(procutil.testpid, '4.6', modname='utils.procutil')
-try:
-    setprocname = _deprecatedfunc(procutil.setprocname, '4.6',
-                                  modname='utils.procutil')
-except AttributeError:
-    pass
-try:
-    unblocksignal = _deprecatedfunc(procutil.unblocksignal, '4.6',
-                                    modname='utils.procutil')
-except AttributeError:
-    pass
 closefds = procutil.closefds
-isatty = _deprecatedfunc(procutil.isatty, '4.6')
-popen2 = _deprecatedfunc(procutil.popen2, '4.6')
-popen3 = _deprecatedfunc(procutil.popen3, '4.6')
-popen4 = _deprecatedfunc(procutil.popen4, '4.6')
-pipefilter = _deprecatedfunc(procutil.pipefilter, '4.6')
-tempfilter = _deprecatedfunc(procutil.tempfilter, '4.6')
-filter = _deprecatedfunc(procutil.filter, '4.6')
-mainfrozen = _deprecatedfunc(procutil.mainfrozen, '4.6')
-hgexecutable = _deprecatedfunc(procutil.hgexecutable, '4.6')
-isstdin = _deprecatedfunc(procutil.isstdin, '4.6')
-isstdout = _deprecatedfunc(procutil.isstdout, '4.6')
-shellenviron = _deprecatedfunc(procutil.shellenviron, '4.6')
-system = _deprecatedfunc(procutil.system, '4.6')
-gui = _deprecatedfunc(procutil.gui, '4.6')
-hgcmd = _deprecatedfunc(procutil.hgcmd, '4.6')
-rundetached = _deprecatedfunc(procutil.rundetached, '4.6')
-
+