This is an archive of the discontinued Mercurial Phabricator instance.

copies: avoid reusing the same variable for two different copy dicts
ClosedPublic

Authored by martinvonz on Jun 20 2019, 7:15 PM.

Details

Summary

"childcopies" is initally the copies the current changeset to one of
its children and then we reassign it with the copies from the start of
the chain to the child. Let's use different names for these two
things.

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 20 2019, 7:15 PM
pulkit accepted this revision.Jun 22 2019, 9:31 AM
This revision is now accepted and ready to land.Jun 22 2019, 9:31 AM