changeset 43991 | e3ce3731d621 |
parent 43910 | c41ed5d4f770 |
child 44021 | 6d3b67a837a6 |
--- a/mercurial/ui.py Fri Dec 27 18:50:40 2019 -0500 +++ b/mercurial/ui.py Fri Dec 27 18:51:45 2019 -0500 @@ -2032,7 +2032,10 @@ self.log( b'develwarn', b'%s at: %s:%d (%s)\n', msg, fname, lineno, fmsg ) - curframe = calframe = None # avoid cycles + + # avoid cycles + del curframe + del calframe def deprecwarn(self, msg, version, stacklevel=2): """issue a deprecation warning