( )⚙ D11427 dirstate: make a conditionnal easier to read in `setparents`

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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