Submitter | phabricator |
---|---|
Date | Dec. 30, 2019, 1:33 p.m. |
Message ID | <f27c83a6af5dc33e30126d76301a0993@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/44130/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -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