Compares this revision with other in ascending numeric order.
a negative number, zero, or a positive number when this revision is earlier than, equal to, or later than other.
the revision to compare.