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

Matt Harbison mharbison72 at gmail.com
Fri May 11 01:11:18 EDT 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1526002643 14400
#      Thu May 10 21:37:23 2018 -0400
# Node ID f491c2884713b3080d94680dda6b00a11c51caf0
# Parent  86f8c466db666c1d19b5a84bcbdfb0647771b5f5
util: drop deprecated forwarding to dateutil

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


More information about the Mercurial-devel mailing list