Patchwork [05,of,12] util: drop deprecated forwarding to dateutil

login
register
mail settings
Submitter Matt Harbison
Date May 11, 2018, 5:11 a.m.
Message ID <f491c2884713b3080d94.1526015478@Envy>
Download mbox | patch
Permalink /patch/31499/
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 1526002643 14400
#      Thu May 10 21:37:23 2018 -0400
# Node ID f491c2884713b3080d94680dda6b00a11c51caf0
# Parent  86f8c466db666c1d19b5a84bcbdfb0647771b5f5
util: drop deprecated forwarding to dateutil

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -3799,13 +3799,6 @@  def _deprecatedfunc(func, version, modna
 
 defaultdateformats = dateutil.defaultdateformats
 extendeddateformats = dateutil.extendeddateformats
-makedate = _deprecatedfunc(dateutil.makedate, '4.6')
-datestr = _deprecatedfunc(dateutil.datestr, '4.6')
-shortdate = _deprecatedfunc(dateutil.shortdate, '4.6')
-parsetimezone = _deprecatedfunc(dateutil.parsetimezone, '4.6')
-strdate = _deprecatedfunc(dateutil.strdate, '4.6')
-parsedate = _deprecatedfunc(dateutil.parsedate, '4.6')
-matchdate = _deprecatedfunc(dateutil.matchdate, '4.6')
 
 stderr = procutil.stderr
 stdin = procutil.stdin