index: use index.get_rev in exchange._pullapplyphases
Differential Revision: https://phab.mercurial-scm.org/D7347