eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py

changeset 8220
006ee31b4835
parent 8218
7c09585bd960
child 8228
772103b14c18
equal deleted inserted replaced
8219:013aee248a62 8220:006ee31b4835
222 infoDict[name] = value 222 infoDict[name] = value
223 223
224 # step 2: build the output 224 # step 2: build the output
225 if infoDict: 225 if infoDict:
226 info = ["<table>"] 226 info = ["<table>"]
227 pindex = 0 227 for pindex, (rev, node, tags, message, remarks) in enumerate(
228 for rev, node, tags, message, remarks in infoDict["parent"]: 228 infoDict["parent"], start=1
229 pindex += 1 229 ):
230 changeset = "{0}:{1}".format(rev, node) 230 changeset = "{0}:{1}".format(rev, node)
231 if len(infoDict["parent"]) > 1: 231 if len(infoDict["parent"]) > 1:
232 info.append(self.tr( 232 info.append(self.tr(
233 "<tr><td><b>Parent #{0}</b></td><td>{1}</td></tr>") 233 "<tr><td><b>Parent #{0}</b></td><td>{1}</td></tr>")
234 .format(pindex, changeset)) 234 .format(pindex, changeset))

eric ide

mercurial