Unified revparse

Building on #1393, consolidate the revparse api into one call.