118 else: |
118 else: |
119 self.process.kill() |
119 self.process.kill() |
120 self.process.setWorkingDirectory(repodir) |
120 self.process.setWorkingDirectory(repodir) |
121 |
121 |
122 self.process.start('hg', args) |
122 self.process.start('hg', args) |
123 procStarted = self.process.waitForStarted() |
123 procStarted = self.process.waitForStarted(5000) |
124 if not procStarted: |
124 if not procStarted: |
125 self.inputGroup.setEnabled(False) |
125 self.inputGroup.setEnabled(False) |
126 self.inputGroup.hide() |
126 self.inputGroup.hide() |
127 E5MessageBox.critical(self, |
127 E5MessageBox.critical(self, |
128 self.trUtf8('Process Generation Error'), |
128 self.trUtf8('Process Generation Error'), |