Mercurial > hg
comparison mercurial/repair.py @ 38866:aa33988ad8ab
index: return False for "len(index) in index"
Since we no longer accept index[len(index)], we should clearly make
"len(index) in index" return False. This should have been part of
a3dacabd476b (index: don't allow index[len(index)] to mean nullid,
2018-07-20)
Differential Revision: https://phab.mercurial-scm.org/D4104
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 04 Aug 2018 23:15:03 -0700 |
parents | 2002c193f2bc |
children | 73cf21b2e8a6 |
comparison
equal
deleted
inserted
replaced
38865:899b4c74209c | 38866:aa33988ad8ab |
---|