Details
- Reviewers
martinvonz - Group Reviewers
hg-reviewers - Commits
- rHGdf5f674050b7: relnotes: added description about statemod._statecheck
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
relnotes/next | ||
---|---|---|
66–72 | The "private" (underscore-prefixed) members should not be mentioned here. Extension developers should not be accessing them, so they don't need to know about them. What they need to know is that if they had been adding operations to cmdutil.unfinishedstates, cmdutil.afterresolvestates, or cmdutil.STATES before, they now need to use state.addunfinished(). I now see that state.addunfinished() has **kwargs, which means they will have to look at the _statecheck class after all. Perhaps we should copy the arguments over from the class to the function (and remove the defaults from the class) so it's easier to find them? |
relnotes/next | ||
---|---|---|
66–72 | @martinvonz But that would destroy the integrity of statecheck class and addunfinished is just below statecheck class so one can easily look at statecheck if definitions for various flags are to be known. Still if you want I can do that. |
relnotes/next | ||
---|---|---|
68–69 | thanks! |
I'll drop the last sentence in flight since D6583 has landed.