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