add Revision.equals()

The deprecation seem to be reasonable.
It's better to re-create <code>Revision</code> object, because there should not be a significant performance impact