Page MenuHomePhabricator

revlog: use size_t for nodetree capacity
ClosedPublic

Authored by quark on Jan 12 2021, 5:51 PM.

Details

Summary

This allows handling revlog containing more than 33554432 (INT_MAX /
sizeof(nodetreenode)) revisions on x64 platforms.

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

quark created this revision.Jan 12 2021, 5:51 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.