HomePhabricator

rewriteutil: extract evolve code used to replace obsolete hashes in commits

Authored by mharbison72.

Description

rewriteutil: extract evolve code used to replace obsolete hashes in commits

The evolve command uses it, but there are core things like phabsend and
rebase that would also benefit.

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