This is an archive of the discontinued Mercurial Phabricator instance.

context: move equivalent renamed() implementations to superclass
ClosedPublic

Authored by martinvonz on Feb 23 2019, 12:08 PM.

Details

Summary

Now that renamed() in workingfilectx and in overlayfilectx are written
in terms of copysource(), they are functionally identical and can be
reused.

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.