13 from PyQt6.QtCore import pyqtSlot, Qt, QProcess, QTimer |
13 from PyQt6.QtCore import pyqtSlot, Qt, QProcess, QTimer |
14 from PyQt6.QtWidgets import ( |
14 from PyQt6.QtWidgets import ( |
15 QDialog, QDialogButtonBox, QListWidgetItem, QLineEdit |
15 QDialog, QDialogButtonBox, QListWidgetItem, QLineEdit |
16 ) |
16 ) |
17 |
17 |
18 from E5Gui import E5MessageBox |
18 from E5Gui import EricMessageBox |
19 |
19 |
20 from .Ui_SvnChangeListsDialog import Ui_SvnChangeListsDialog |
20 from .Ui_SvnChangeListsDialog import Ui_SvnChangeListsDialog |
21 |
21 |
22 import Preferences |
22 import Preferences |
23 from Globals import strToQByteArray |
23 from Globals import strToQByteArray |
112 self.process.start('svn', args) |
112 self.process.start('svn', args) |
113 procStarted = self.process.waitForStarted(5000) |
113 procStarted = self.process.waitForStarted(5000) |
114 if not procStarted: |
114 if not procStarted: |
115 self.inputGroup.setEnabled(False) |
115 self.inputGroup.setEnabled(False) |
116 self.inputGroup.hide() |
116 self.inputGroup.hide() |
117 E5MessageBox.critical( |
117 EricMessageBox.critical( |
118 self, |
118 self, |
119 self.tr('Process Generation Error'), |
119 self.tr('Process Generation Error'), |
120 self.tr( |
120 self.tr( |
121 'The process {0} could not be started. ' |
121 'The process {0} could not be started. ' |
122 'Ensure, that it is in the search path.' |
122 'Ensure, that it is in the search path.' |