HomePhabricator

changectx: use unfiltered changelog to access parents of unfiltered revs

Authored by marmoute.

Description

changectx: use unfiltered changelog to access parents of unfiltered revs

If a revision is not filtered, we know that its parents are not either. So we
can take a shortcut. This shortcut avoid the computation of all filtered revs in
some cases.

Differential Revision: https://phab.mercurial-scm.org/D7487