( )⚙ D3653 state: removing remaining instances of opts class variable

This is an archive of the discontinued Mercurial Phabricator instance.

state: removing remaining instances of opts class variable
ClosedPublic

Authored by pulkit on May 24 2018, 5:00 PM.

Details

Summary

The cmdstate class used to have a class variable opts which used to be a dict
which stored all the data for the state. Recent cleanups removed the use of that
variable. There were couple of instances left which are removed by this patch.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.May 24 2018, 5:00 PM
martinvonz accepted this revision.May 24 2018, 6:21 PM
martinvonz added a subscriber: martinvonz.
martinvonz added inline comments.
mercurial/state.py
46

i'll delete this line in flight

This revision is now accepted and ready to land.May 24 2018, 6:21 PM
This revision was automatically updated to reflect the committed changes.
pulkit added inline comments.May 25 2018, 6:03 AM
mercurial/state.py
46

Thanks for doing that!