util: enable deprecation warning for stringutil proxy (API)
.. api::
Several generic string helper functions have been moved to utils.stringutil
module.
--- 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')