112 else: |
112 else: |
113 self.process.kill() |
113 self.process.kill() |
114 self.process.setWorkingDirectory(repodir) |
114 self.process.setWorkingDirectory(repodir) |
115 |
115 |
116 self.process.start('hg', args) |
116 self.process.start('hg', args) |
117 procStarted = self.process.waitForStarted() |
117 procStarted = self.process.waitForStarted(5000) |
118 if not procStarted: |
118 if not procStarted: |
119 self.inputGroup.setEnabled(False) |
119 self.inputGroup.setEnabled(False) |
120 self.inputGroup.hide() |
120 self.inputGroup.hide() |
121 E5MessageBox.critical(self, |
121 E5MessageBox.critical(self, |
122 self.trUtf8('Process Generation Error'), |
122 self.trUtf8('Process Generation Error'), |