133 else: |
133 else: |
134 self.process.kill() |
134 self.process.kill() |
135 self.process.setWorkingDirectory(repodir) |
135 self.process.setWorkingDirectory(repodir) |
136 |
136 |
137 self.process.start('hg', args) |
137 self.process.start('hg', args) |
138 procStarted = self.process.waitForStarted() |
138 procStarted = self.process.waitForStarted(5000) |
139 if not procStarted: |
139 if not procStarted: |
140 self.inputGroup.setEnabled(False) |
140 self.inputGroup.setEnabled(False) |
141 self.inputGroup.hide() |
141 self.inputGroup.hide() |
142 E5MessageBox.critical(self, |
142 E5MessageBox.critical(self, |
143 self.trUtf8('Process Generation Error'), |
143 self.trUtf8('Process Generation Error'), |