99 else: |
99 else: |
100 self.process.kill() |
100 self.process.kill() |
101 self.process.setWorkingDirectory(repodir) |
101 self.process.setWorkingDirectory(repodir) |
102 |
102 |
103 self.process.start('hg', args) |
103 self.process.start('hg', args) |
104 procStarted = self.process.waitForStarted() |
104 procStarted = self.process.waitForStarted(5000) |
105 if not procStarted: |
105 if not procStarted: |
106 E5MessageBox.critical(self, |
106 E5MessageBox.critical(self, |
107 self.trUtf8('Process Generation Error'), |
107 self.trUtf8('Process Generation Error'), |
108 self.trUtf8( |
108 self.trUtf8( |
109 'The process {0} could not be started. ' |
109 'The process {0} could not be started. ' |