util: enable deprecation warning for stringutil proxy (API)
authorYuya Nishihara <yuya@tcha.org>
Thu, 22 Mar 2018 22:39:43 +0900
changeset 37085 7ae6e3529e37
parent 37084 f0b6fbea00cf
child 37086 658b1d28813c
util: enable deprecation warning for stringutil proxy (API) .. api:: Several generic string helper functions have been moved to utils.stringutil module.
mercurial/util.py
--- a/mercurial/util.py	Thu Mar 22 21:56:20 2018 +0900
+++ b/mercurial/util.py	Thu Mar 22 22:39:43 2018 +0900
@@ -4079,8 +4079,6 @@
 parsedate = _deprecatedfunc(dateutil.parsedate, '4.6')
 matchdate = _deprecatedfunc(dateutil.matchdate, '4.6')
 
-def _deprecatedfunc(func, version):  # TODO
-    return func
 escapedata = _deprecatedfunc(stringutil.escapedata, '4.6')
 binary = _deprecatedfunc(stringutil.binary, '4.6')
 stringmatcher = _deprecatedfunc(stringutil.stringmatcher, '4.6')