diff mercurial/dirstateguard.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 bbbbd3c30bfc
children ad24b581e4d9
line wrap: on
line diff