This is an archive of the discontinued Mercurial Phabricator instance.

copies: extract method for getting non-wdir forward copies
ClosedPublic

Authored by martinvonz on Dec 14 2017, 8:01 PM.

Details

Summary

I may add an alternative way of getting copy metadata (from changelog,
not filelog) but the chaining with the dirstate copy metadata will be
the same, so it will probably help to have this extracted. Even if
that doesn't happen, the next patch will show that we can simplify
this a bit after this refactoring, so it seems worth it regardless.

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.Dec 14 2017, 8:01 PM
yuja accepted this revision.Dec 15 2017, 8:38 AM
This revision is now accepted and ready to land.Dec 15 2017, 8:38 AM
This revision was automatically updated to reflect the committed changes.