This is an archive of the discontinued Mercurial Phabricator instance.

index: move check for too large capacity into nt_init()
ClosedPublic

Authored by martinvonz on Aug 9 2018, 3:27 AM.

Details

Summary

It's clearer to have the check just before the allocation happens.

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 created this revision.Aug 9 2018, 3:27 AM
This revision was automatically updated to reflect the committed changes.