This is an archive of the discontinued Mercurial Phabricator instance.

index: don't include nullid in boundary check in pure code
ClosedPublic

Authored by martinvonz on Aug 20 2018, 1:53 AM.

Details

Summary

Yet another change that should probably have been part of a3dacabd476b
(index: don't allow index[len(index)] to mean nullid, 2018-07-20).

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.