This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-entry: restrict `from_p2` property to tracked file
ClosedPublic

Authored by marmoute on Jul 4 2021, 5:50 PM.

Details

Summary

The other case is now handled in from_p2_removed, and should ideally be moved
to a lower level. So we can drop the state == 'n' narrowing and move it in the
property itself.

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 4 2021, 5:50 PM
SimonSapin accepted this revision.Jul 5 2021, 12:25 AM
pulkit accepted this revision.Jul 6 2021, 12:32 PM
This revision is now accepted and ready to land.Jul 6 2021, 12:32 PM
baymax updated this revision to Diff 28861.Jul 6 2021, 2:08 PM

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