Update deprecation warning objects for Djblets 3.0 and 4.0.
Review Request #12311 — Created May 31, 2022 and submitted — Latest diff uploaded
This introduces
RemovedInDjblets40Warning
and
RemovedInDjblets50Warning
and setsRemovedInNextDjbletsVersionWarning
toRemovedInDjblets40Warning
.
RemovedInDjblets20Warning
has been removed, as it's no longer needed.
BaseRemovedInDjbletsVersionWarning
has been updated to include a new
warn()
method, making it easier to emit deprecation warnings.
Unit tests pass.
Began using
RemovedInDjblets40Warning
in new code.