Page MenuHomePhabricator

dirstate: directly call the dirstatemap in `set_untracked`
ClosedPublic

Authored by marmoute on Aug 21 2021, 5:55 AM.

Details

Summary

This function is only called in two places: the deprecated "remove" method and
in the new set_untracked method.

So we simply inline the appropriate content in set_untraked, paving the way
to dropping the deprecated code and its associated function.

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.Aug 21 2021, 5:55 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.