This is an archive of the discontinued Mercurial Phabricator instance.

obsstore: rename precursors into predecessors
ClosedPublic

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

Details

Summary

Use util.nouideprecwarn because obsstore doesn't have easy access to an ui
object.

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
dsp added a subscriber: dsp.Aug 8 2017, 11:54 AM
dsp added inline comments.
mercurial/obsutil.py
210

should this be called predecessormarkers?

lothiraldan added inline comments.Aug 8 2017, 12:20 PM
mercurial/obsutil.py
210

Ideally yes.

I wanted to limit this series to external impacting changes only (either output or API changes) so extensions and tests could be updated once and for all.

I plan to do variables renaming in a later series as they won't involve test changing or extensions breaking.

This revision was automatically updated to reflect the committed changes.
lothiraldan updated this revision to Diff 707.Aug 9 2017, 1:19 PM