This is an archive of the discontinued Mercurial Phabricator instance.

changing-files: add the ability to track merged files too
ClosedPublic

Authored by marmoute on Sep 26 2020, 8:10 AM.

Details

Summary

The set of merged files is used when doing changeset centric copy tracing (cf
is_merged in mercurial/copies.py. So tracking (and persisting) this set will
be useful. We start with adding the attribute on the new object.

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

marmoute created this revision.Sep 26 2020, 8:10 AM
pulkit accepted this revision.Oct 1 2020, 5:17 AM
pulkit added a subscriber: pulkit.
pulkit added inline comments.
mercurial/metadata.py
26

This description seems misleading. It says recording changes made to a file by a cset, however, we are recording all file changes made by a changeset. If you agree, kindly send a followup.

97

s/size/side in flight

This revision is now accepted and ready to land.Oct 1 2020, 5:17 AM