Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py

changeset 3020
542e97d4ecb3
parent 3008
7848489bcb92
child 3023
34ce20603bf7
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
145 self.process.start('hg', args) 145 self.process.start('hg', args)
146 procStarted = self.process.waitForStarted(5000) 146 procStarted = self.process.waitForStarted(5000)
147 if not procStarted: 147 if not procStarted:
148 self.inputGroup.setEnabled(False) 148 self.inputGroup.setEnabled(False)
149 self.inputGroup.hide() 149 self.inputGroup.hide()
150 E5MessageBox.critical(self, 150 E5MessageBox.critical(
151 self,
151 self.trUtf8('Process Generation Error'), 152 self.trUtf8('Process Generation Error'),
152 self.trUtf8( 153 self.trUtf8(
153 'The process {0} could not be started. ' 154 'The process {0} could not be started. '
154 'Ensure, that it is in the search path.' 155 'Ensure, that it is in the search path.'
155 ).format('hg')) 156 ).format('hg'))
186 self.process.start('hg', args) 187 self.process.start('hg', args)
187 procStarted = self.process.waitForStarted(5000) 188 procStarted = self.process.waitForStarted(5000)
188 if not procStarted: 189 if not procStarted:
189 self.inputGroup.setEnabled(False) 190 self.inputGroup.setEnabled(False)
190 self.inputGroup.hide() 191 self.inputGroup.hide()
191 E5MessageBox.critical(self, 192 E5MessageBox.critical(
193 self,
192 self.trUtf8('Process Generation Error'), 194 self.trUtf8('Process Generation Error'),
193 self.trUtf8( 195 self.trUtf8(
194 'The process {0} could not be started. ' 196 'The process {0} could not be started. '
195 'Ensure, that it is in the search path.' 197 'Ensure, that it is in the search path.'
196 ).format('hg')) 198 ).format('hg'))

eric ide

mercurial