[Updated] D11933: revlog: add some information about the revision we cannot find
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Dec 17 14:00:51 UTC 2021
Closed by commit rHG30741bbea550: revlog: add some information about the revision we cannot find (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11933?vs=31499&id=31530
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11933/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11933
AFFECTED FILES
mercurial/pure/parsers.py
CHANGE DETAILS
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:
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211217/78329777/attachment-0002.html>
More information about the Mercurial-patches
mailing list