106 else: |
106 else: |
107 self.process.kill() |
107 self.process.kill() |
108 self.process.setWorkingDirectory(repodir) |
108 self.process.setWorkingDirectory(repodir) |
109 |
109 |
110 self.process.start('hg', args) |
110 self.process.start('hg', args) |
111 procStarted = self.process.waitForStarted() |
111 procStarted = self.process.waitForStarted(5000) |
112 if not procStarted: |
112 if not procStarted: |
113 self.inputGroup.setEnabled(False) |
113 self.inputGroup.setEnabled(False) |
114 self.inputGroup.hide() |
114 self.inputGroup.hide() |
115 E5MessageBox.critical(self, |
115 E5MessageBox.critical(self, |
116 self.trUtf8('Process Generation Error'), |
116 self.trUtf8('Process Generation Error'), |