245 self.process.start('svn', args) |
245 self.process.start('svn', args) |
246 procStarted = self.process.waitForStarted() |
246 procStarted = self.process.waitForStarted() |
247 if not procStarted: |
247 if not procStarted: |
248 self.__finish() |
248 self.__finish() |
249 self.inputGroup.setEnabled(False) |
249 self.inputGroup.setEnabled(False) |
|
250 self.inputGroup.hide() |
250 E5MessageBox.critical(self, |
251 E5MessageBox.critical(self, |
251 self.trUtf8('Process Generation Error'), |
252 self.trUtf8('Process Generation Error'), |
252 self.trUtf8( |
253 self.trUtf8( |
253 'The process {0} could not be started. ' |
254 'The process {0} could not be started. ' |
254 'Ensure, that it is in the search path.' |
255 'Ensure, that it is in the search path.' |
255 ).format('svn')) |
256 ).format('svn')) |
256 else: |
257 else: |
257 self.inputGroup.setEnabled(True) |
258 self.inputGroup.setEnabled(True) |
|
259 self.inputGroup.show() |
258 |
260 |
259 def __normalizeUrl(self, url): |
261 def __normalizeUrl(self, url): |
260 """ |
262 """ |
261 Private method to normalite the url. |
263 Private method to normalite the url. |
262 |
264 |
349 self.process.terminate() |
351 self.process.terminate() |
350 QTimer.singleShot(2000, self.process.kill) |
352 QTimer.singleShot(2000, self.process.kill) |
351 self.process.waitForFinished(3000) |
353 self.process.waitForFinished(3000) |
352 |
354 |
353 self.inputGroup.setEnabled(False) |
355 self.inputGroup.setEnabled(False) |
|
356 self.inputGroup.hide() |
354 |
357 |
355 self.__resizeColumns() |
358 self.__resizeColumns() |
356 self.__resort() |
359 self.__resort() |
357 QApplication.restoreOverrideCursor() |
360 QApplication.restoreOverrideCursor() |
358 |
361 |