1212 |
1212 |
1213 output, error = self.__client.runcommand(args) |
1213 output, error = self.__client.runcommand(args) |
1214 |
1214 |
1215 infoBlock = [] |
1215 infoBlock = [] |
1216 if output: |
1216 if output: |
1217 index = 0 |
1217 for index, line in enumerate(output.splitlines(), start=1): |
1218 for line in output.splitlines(): |
|
1219 index += 1 |
|
1220 (changeset, tags, author, date, branches, |
1218 (changeset, tags, author, date, branches, |
1221 bookmarks) = line.split("@@@") |
1219 bookmarks) = line.split("@@@") |
1222 cdate, ctime = date.split()[:2] |
1220 cdate, ctime = date.split()[:2] |
1223 info = [] |
1221 info = [] |
1224 info.append(QCoreApplication.translate( |
1222 info.append(QCoreApplication.translate( |
1705 '{date|isodate}@@@{branches}@@@{parents}@@@{bookmarks}\n') |
1703 '{date|isodate}@@@{branches}@@@{parents}@@@{bookmarks}\n') |
1706 |
1704 |
1707 output, error = self.__client.runcommand(args) |
1705 output, error = self.__client.runcommand(args) |
1708 |
1706 |
1709 if output: |
1707 if output: |
1710 index = 0 |
1708 for index, line in enumerate(output.splitlines(), start=1): |
1711 for line in output.splitlines(): |
|
1712 index += 1 |
|
1713 (changeset, tags, author, date, branches, parents, |
1709 (changeset, tags, author, date, branches, parents, |
1714 bookmarks) = line.split("@@@") |
1710 bookmarks) = line.split("@@@") |
1715 cdate, ctime = date.split()[:2] |
1711 cdate, ctime = date.split()[:2] |
1716 info.append("""<p><table>""") |
1712 info.append("""<p><table>""") |
1717 if mode == "heads": |
1713 if mode == "heads": |