( )⚙ D11010 dirstate: introduce an internal `_add` method

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: introduce an internal `_add` method
ClosedPublic

Authored by marmoute on Jul 7 2021, 5:20 PM.

Details

Summary

We want to split current user of dirstate.add between hg add-like cases and
update of the dirstate coming from update/merge.

To do this we will introduce new API. The first step is to introduces an
internal function that these new API migh use (or not use) to distinct between
the migrated users and the others.

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

marmoute created this revision.Jul 7 2021, 5:20 PM
baymax updated this revision to Diff 28994.Jul 8 2021, 9:17 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.Jul 9 2021, 12:01 PM
This revision is now accepted and ready to land.Jul 9 2021, 12:01 PM

This series starting from here looks good, but could use a typo pass on the commit messages, that'd be great. I'll queue it on monday probably.

baymax updated this revision to Diff 29141.Jul 10 2021, 3:09 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax retitled this revision from dirstate: introduce and internal `_add` method to dirstate: introduce an internal `_add` method.Jul 10 2021, 4:50 PM
baymax edited the summary of this revision. (Show Details)
baymax updated this revision to Diff 29145.

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax updated this revision to Diff 29241.Jul 15 2021, 11:16 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

This revision was automatically updated to reflect the committed changes.