( )⚙ D4005 index: store nullrev as -1 in nodetree

This is an archive of the discontinued Mercurial Phabricator instance.

index: store nullrev as -1 in nodetree
ClosedPublic

Authored by martinvonz on Aug 1 2018, 12:43 PM.

Details

Summary

Nothing important, it just seems more natural to not map nullrev to
INT_MAX. We just need to change the revision encoding a little to make
space for the -1.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped