Make Revision::getText() emit deprecation warnings.