add Revision.equals()

There are *no* usages of setSha1. Why deprecate it we can just remove it? I understand the need for backwards compatibility, but this change breaks nothing.