HomePhabricator

revlog: use size_t for nodetree capacity

Authored by quark.

Description

revlog: use size_t for nodetree capacity

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

Differential Revision: https://phab.mercurial-scm.org/D9745

Details

Committed
quarkJan 12 2021, 5:45 PM
Differential Revision
D9745: revlog: use size_t for nodetree capacity
Parents
rHG24bfd98978da: upgrade: demonstrate that a no-op upgrade still performs everything
Branches
Unknown
Tags
Unknown