# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1521725983 -32400 # Thu Mar 22 22:39:43 2018 +0900 # Node ID d53ab441e3ce649d5151340ec06be72ee8daf3c4 # Parent 7b0c9a92447bf080befe051566fcc8228d957cc0 util: enable deprecation warning for stringutil proxy (API)
.. api:: Several generic string helper functions have been moved to utils.stringutil module. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -4079,8 +4079,6 @@ strdate = _deprecatedfunc(dateutil.strda 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') _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel