This is an archive of the discontinued Mercurial Phabricator instance.

unionrepo: don't insert index tuples with None as int field
ClosedPublic

Authored by joerg.sonnenberger on Oct 6 2020, 9:26 PM.

Details

Summary

None is not a valid size. Use -1 as placeholder instead. This will be
necessary when the index starts enforcing type correctness.

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

martinvonz requested changes to this revision.Oct 27 2020, 7:45 PM
martinvonz added a subscriber: martinvonz.

Same as for the parent patch: please explain why this patch is useful.

This revision now requires changes to proceed.Oct 27 2020, 7:45 PM
joerg.sonnenberger edited the summary of this revision. (Show Details)Nov 2 2020, 5:14 PM
joerg.sonnenberger updated this revision to Diff 23406.
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.