Allow Djblets's deprecation support to be used in other products.
Review Request #12813 — Created Jan. 26, 2023 and submitted
Djblets has a lot of useful deprecation code, from the warning classes
to the argument checkers, which currently all explicitly specify
"Djblets" in any messages.
These are now built to be consumed. A new
BaseRemovedInProductVersionWarningclass has been added, which
contains the base warning code, and introduces a
BaseRemovedInDjbletsVersionWarningnow subclasses this, filling in
can be used by consumers along with the new base class.
Unit tests passed.
Made use of the new deprecation abilities in Review Board.