( )⚙ D11076 dirstate: add dedicated function for updating data of a file

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: add dedicated function for updating data of a file
ClosedPublic

Authored by marmoute on Jul 11 2021, 7:38 AM.

Details

Summary

dirstate.normal() is too generic to be a user facing function for that. This
is a part of effort to refactor dirstate APIs and make them clearer.

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 11 2021, 7:38 AM
Alphare accepted this revision.Jul 12 2021, 5:51 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/dirstate.py
600

s/calling/called/

This revision is now accepted and ready to land.Jul 12 2021, 5:51 AM
marmoute updated this revision to Diff 29207.Jul 12 2021, 5:56 AM
marmoute updated this revision to Diff 29208.Jul 12 2021, 9:45 AM