Mercurial > hg
diff contrib/hgweb.wsgi @ 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 | 4b0fc75f9403 |
children | d58a205d0672 |