This is an archive of the discontinued Mercurial Phabricator instance.

context: rename troubled into isunstable
ClosedPublic

Authored by lothiraldan on Aug 7 2017, 6:08 AM.

Details

Summary

As we changed the meaning of unstable between the old vocabulary and the new
one, we can't reuse the unstable method name at the risk of breaking
extensions calling unstable and getting a wrong result.

Instead rename troubled into isunstable so extensions will continue to work.

The renaming is done according to
https://www.mercurial-scm.org/wiki/CEDVocabulary.

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

lothiraldan created this revision.Aug 7 2017, 6:08 AM
lothiraldan updated this revision to Diff 626.Aug 8 2017, 10:09 AM
lothiraldan updated this revision to Diff 665.Aug 9 2017, 2:07 AM
This revision was automatically updated to reflect the committed changes.
lothiraldan updated this revision to Diff 704.Aug 9 2017, 1:19 PM
yuja added a subscriber: yuja.Aug 13 2017, 1:01 AM
yuja added inline comments.
mercurial/context.py
246

Please send a follow-up. This is too far from the tip to amend.