This is an archive of the discontinued Mercurial Phabricator instance.

context: rewrite renamed() in terms of new copysource() where appropriate
ClosedPublic

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

Details

Summary

It's only the filectx for committed files that have the copy source's
nodeid easily available; workingfilectx's and overlayfilectx's
renamed() simply find the nodeid by looking in the changeset's p1's
manifest.

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.