Mercurial > hg
comparison mercurial/patch.py @ 37675:5b8a260769a2
util: set correct stack level on deprecation warnings
Without this patch, you'll get something like this:
<path>/mercurial/util.py:3784: DeprecationWarning: 'util.hgexecutable'
is deprecated, use 'utils.procutil.hgexecutable'
(but on one line)
Differential Revision: https://phab.mercurial-scm.org/D3331
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 13 Apr 2018 14:18:26 -0700 |
parents | 5537d8f5e989 |
children | 8d730f96e792 |
comparison
equal
deleted
inserted
replaced
37674:f83cb91b052e | 37675:5b8a260769a2 |
---|