Patchwork [04,of,12] util: drop deprecated forwarding to stringutil

login
register
mail settings
Submitter Matt Harbison
Date May 11, 2018, 5:11 a.m.
Message ID <86f8c466db666c1d19b5.1526015477@Envy>
Download mbox | patch
Permalink /patch/31494/
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 1526002480 14400
#      Thu May 10 21:34:40 2018 -0400
# Node ID 86f8c466db666c1d19b5a84bcbdfb0647771b5f5
# Parent  9ddff569f725670f9512dae20f989d5d42587270
util: drop deprecated forwarding to stringutil
Yuya Nishihara - May 11, 2018, 12:29 p.m.
On Fri, 11 May 2018 01:11:17 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1526002480 14400
> #      Thu May 10 21:34:40 2018 -0400
> # Node ID 86f8c466db666c1d19b5a84bcbdfb0647771b5f5
> # Parent  9ddff569f725670f9512dae20f989d5d42587270
> util: drop deprecated forwarding to stringutil

Queued 4, 5, 9, 10-12, thanks. Flagged these as (API).

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -3860,15 +3860,3 @@  gui = _deprecatedfunc(procutil.gui, '4.6
 hgcmd = _deprecatedfunc(procutil.hgcmd, '4.6')
 rundetached = _deprecatedfunc(procutil.rundetached, '4.6')
 
-binary = _deprecatedfunc(stringutil.binary, '4.6')
-stringmatcher = _deprecatedfunc(stringutil.stringmatcher, '4.6')
-shortuser = _deprecatedfunc(stringutil.shortuser, '4.6')
-emailuser = _deprecatedfunc(stringutil.emailuser, '4.6')
-email = _deprecatedfunc(stringutil.email, '4.6')
-ellipsis = _deprecatedfunc(stringutil.ellipsis, '4.6')
-escapestr = _deprecatedfunc(stringutil.escapestr, '4.6')
-unescapestr = _deprecatedfunc(stringutil.unescapestr, '4.6')
-forcebytestr = _deprecatedfunc(stringutil.forcebytestr, '4.6')
-uirepr = _deprecatedfunc(stringutil.uirepr, '4.6')
-wrap = _deprecatedfunc(stringutil.wrap, '4.6')
-parsebool = _deprecatedfunc(stringutil.parsebool, '4.6')