errors: raise InputError from revsingle() iff revset provided by the user
Same reasoning as for revrange() in an earlier patch.
Differential Revision: https://phab.mercurial-scm.org/D11562