HomePhabricator

refactor: prefer lookup by revision, even for null

Authored by joerg.sonnenberger.

Description

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

Details