Implement TrySearchRevision.

Closes issue #19.