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