This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: make a conditionnal easier to read in `setparents`
ClosedPublic

Authored by marmoute on Sep 16 2021, 10:42 AM.

Details

Summary

By grabing nullid in the local space, we get the conditionnal to fit in one
line.

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.Sep 16 2021, 10:42 AM
Alphare accepted this revision.Sep 20 2021, 6:03 AM
This revision is now accepted and ready to land.Sep 20 2021, 6:03 AM