diff -r 013aee248a62 -r 006ee31b4835 eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py --- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sun Apr 11 11:34:32 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sun Apr 11 12:38:16 2021 +0200 @@ -224,9 +224,9 @@ # step 2: build the output if infoDict: info = ["<table>"] - pindex = 0 - for rev, node, tags, message, remarks in infoDict["parent"]: - pindex += 1 + for pindex, (rev, node, tags, message, remarks) in enumerate( + infoDict["parent"], start=1 + ): changeset = "{0}:{1}".format(rev, node) if len(infoDict["parent"]) > 1: info.append(self.tr(