HomePhabricator

index: don't allow index[len(index)] to mean nullid

Authored by martinvonz.

Description

index: don't allow index[len(index)] to mean nullid

Now everything else has been cleaned up and we can drop support for
getting the nullid from the end of the index (from *past* the end
actually, since we reduced the length in the previous patch).

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

Details

Committed
martinvonzJul 20 2018, 5:36 PM
Differential Revision
D4023: index: don't allow index[len(index)] to mean nullid
Parents
rHG781b2720d2ac: index: don't include nullid in len()
Branches
Unknown
Tags
Unknown

Event Timeline