refactor: prefer lookup by revision, even for null...
refactor: prefer lookup by revision, even for null
While the nullid lookup is a special case, it is still more complicated.
The common pattern is to lookup via nullrev so be consistent here.
Differential Revision:
https://phab.mercurial-scm.org/D10280