126 else: |
126 else: |
127 self.process.kill() |
127 self.process.kill() |
128 self.process.setWorkingDirectory(repodir) |
128 self.process.setWorkingDirectory(repodir) |
129 |
129 |
130 self.process.start('hg', args) |
130 self.process.start('hg', args) |
131 procStarted = self.process.waitForStarted() |
131 procStarted = self.process.waitForStarted(5000) |
132 if not procStarted: |
132 if not procStarted: |
133 self.inputGroup.setEnabled(False) |
133 self.inputGroup.setEnabled(False) |
134 self.inputGroup.hide() |
134 self.inputGroup.hide() |
135 E5MessageBox.critical(self, |
135 E5MessageBox.critical(self, |
136 self.trUtf8('Process Generation Error'), |
136 self.trUtf8('Process Generation Error'), |