added Revision.equals()/.hashCode() on sha1 (not on branches)
[JENKINS-25639]