97 error = str(process.readAllStandardError(), |
97 error = str(process.readAllStandardError(), |
98 self.__ioEncoding, 'replace') |
98 self.__ioEncoding, 'replace') |
99 else: |
99 else: |
100 process.kill() |
100 process.kill() |
101 process.waitForFinished() |
101 process.waitForFinished() |
102 error = self.trUtf8("Could not start the Mercurial process.") |
102 error = self.tr("Could not start the Mercurial process.") |
103 |
103 |
104 if error: |
104 if error: |
105 return False, error |
105 return False, error |
106 |
106 |
107 states = {} |
107 states = {} |
152 if name not in states: |
152 if name not in states: |
153 self.statusList.append(" {0}".format(name)) |
153 self.statusList.append(" {0}".format(name)) |
154 self.reportedStates = states |
154 self.reportedStates = states |
155 |
155 |
156 return True, \ |
156 return True, \ |
157 self.trUtf8("Mercurial status checked successfully") |
157 self.tr("Mercurial status checked successfully") |
158 |
158 |
159 def _shutdown(self): |
159 def _shutdown(self): |
160 """ |
160 """ |
161 Protected method performing shutdown actions. |
161 Protected method performing shutdown actions. |
162 """ |
162 """ |