Tolerate string revIds.

Change-Id: I66d62cfe8e6b1d5fc8878948c0a73973ec2d8a9a