D3307: context: set stack level for deprecation warning

2018-04-14 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1764527af92e: context: set stack level for deprecation warning (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D3307: context: set stack level for deprecation warning

2018-04-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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