This is an archive of the discontinued Mercurial Phabricator instance.

context: remove unwanted assignments in basectx.__new__() (API)
ClosedPublic

Authored by martinvonz on Mar 30 2018, 2:09 AM.

Details

Summary

The two subclasses in core apparently didn't trust new() to do the
job anyway (they both reassigned all the properties after).

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.Mar 30 2018, 2:09 AM
indygreg accepted this revision.Mar 30 2018, 1:19 PM
This revision is now accepted and ready to land.Mar 30 2018, 1:19 PM
This revision was automatically updated to reflect the committed changes.