author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Wed, 15 Dec 2021 15:28:30 +0100 | |
changeset 48496 | 30741bbea550 |
parent 48495 | e293ff808a05 |
child 48497 | 2c6084f67a86 |
--- a/mercurial/pure/parsers.py Thu Dec 16 17:34:51 2021 +0100 +++ b/mercurial/pure/parsers.py Wed Dec 15 15:28:30 2021 +0100 @@ -647,7 +647,7 @@ if not isinstance(i, int): raise TypeError(b"expecting int indexes") if i < 0 or i >= len(self): - raise IndexError + raise IndexError(i) def __getitem__(self, i): if i == -1: