Add a "which" command which shows eligible revisions.