Mercurial > hg
diff contrib/Makefile.python @ 37676:1764527af92e
context: set stack level for deprecation warning
This patch makes the deprecation warning print the caller of
repo.__getitem__. That's not quite correct, since there could also be
other callers of changectx.__init__, but it seems like the most
helpful stack level in practice.
Differential Revision: https://phab.mercurial-scm.org/D3307
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 13 Apr 2018 09:19:38 -0700 |
parents | 5e947367606c |
children | ae68418cc3a1 |