Mercurial > hg
comparison tests/test-trusted.py @ 27274:82910fdc216f
ui: add a 'stacklevel' argument to 'develwarn'
This allows helper functions (like deprecation warning) to prepare a devel
warning for higher up in the stack. The argument is named after the one in the
Python's 'warning,warn' function.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 05 Dec 2015 23:05:33 -0800 |
parents | 56b2bcea2529 |
children | b4048ce003fb |
comparison
equal
deleted
inserted
replaced
27273:5d5b98346fc2 | 27274:82910fdc216f |
---|