Submitter | phabricator |
---|---|
Date | Dec. 16, 2021, 5:43 p.m. |
Message ID | <differential-rev-PHID-DREV-c5vb2hb3vzfariplyfdh-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50259/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/pure/parsers.py b/mercurial/pure/parsers.py --- a/mercurial/pure/parsers.py +++ b/mercurial/pure/parsers.py @@ -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: