HomePhabricator

log: pass getcopies() function instead of getrenamed() to displayer (API)

Authored by martinvonz.

Description

log: pass getcopies() function instead of getrenamed() to displayer (API)

This reduces the duplication between the two displayer functions (and
between them and scmutil.getcopiesfn()). It's still more code than two
patches ago, but there's less duplication.

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