Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 36946:68ae7d764a65
util: clear debugstacktrace call
During the renaming of datestr, it seems that I have forget a debugstacktrace
in util.py. Remove it.
Differential Revision: https://phab.mercurial-scm.org/D2838
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 09 Mar 2018 18:39:48 +0100 |
parents | 472c68cda3f8 |
children | 644a02f6b34f |
comparison
equal
deleted
inserted
replaced
36945:4901d1e22b27 | 36946:68ae7d764a65 |
---|---|
4051 | 4051 |
4052 def datestr(*args, **kwargs): | 4052 def datestr(*args, **kwargs): |
4053 msg = ("'util.datestr' is deprecated, " | 4053 msg = ("'util.datestr' is deprecated, " |
4054 "use 'utils.dateutil.datestr'") | 4054 "use 'utils.dateutil.datestr'") |
4055 nouideprecwarn(msg, "4.6") | 4055 nouideprecwarn(msg, "4.6") |
4056 debugstacktrace() | |
4057 return dateutil.datestr(*args, **kwargs) | 4056 return dateutil.datestr(*args, **kwargs) |
4058 | 4057 |
4059 def shortdate(*args, **kwargs): | 4058 def shortdate(*args, **kwargs): |
4060 msg = ("'util.shortdate' is deprecated, " | 4059 msg = ("'util.shortdate' is deprecated, " |
4061 "use 'utils.dateutil.shortdate'") | 4060 "use 'utils.dateutil.shortdate'") |