This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by martinvonz on Jun 19 2019, 2:31 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Jun 19 2019, 2:31 PM
pulkit accepted this revision.Jun 19 2019, 5:35 PM
This revision is now accepted and ready to land.Jun 19 2019, 5:35 PM