HomePhabricator

bisect: replace a missing method on the list primitive

Authored by mharbison72.

Description

bisect: replace a missing method on the list primitive

Caught by pytype:

File "/mnt/c/Users/Matt/hg/mercurial/commands.py", line 1095, in bisect: No attribute 'last' on list [attribute-error]
  In list

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