91 version = tuple(v) |
91 version = tuple(v) |
92 else: |
92 else: |
93 if finished: |
93 if finished: |
94 errorMsg = QCoreApplication.translate( |
94 errorMsg = QCoreApplication.translate( |
95 "HgUtilities", |
95 "HgUtilities", |
96 "The hg process finished with the exit code {0}")\ |
96 "The hg process finished with the exit code {0}" |
97 .format(process.exitCode()) |
97 ).format(process.exitCode()) |
98 else: |
98 else: |
99 errorMsg = QCoreApplication.translate( |
99 errorMsg = QCoreApplication.translate( |
100 "HgUtilities", |
100 "HgUtilities", |
101 "The hg process did not finish within 30s.") |
101 "The hg process did not finish within 30s.") |
102 else: |
102 else: |