Mercurial > hg
comparison mercurial/repoview.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 | beda2c9dbbff |
children | 9a09a9cfa503 |
comparison
equal
deleted
inserted
replaced
27273:5d5b98346fc2 | 27274:82910fdc216f |
---|