Plugins/VcsPlugins/vcsSubversion/SvnDialog.py

changeset 537
72b32daeb8d6
parent 500
c3abc7895a01
child 791
9ec2ac20e54e
equal deleted inserted replaced
536:6d8d39753c82 537:72b32daeb8d6
9 9
10 import os 10 import os
11 11
12 from PyQt4.QtCore import * 12 from PyQt4.QtCore import *
13 from PyQt4.QtGui import * 13 from PyQt4.QtGui import *
14
15 from E5Gui import E5MessageBox
14 16
15 from .Ui_SvnDialog import Ui_SvnDialog 17 from .Ui_SvnDialog import Ui_SvnDialog
16 18
17 import Preferences 19 import Preferences
18 20
125 self.proc.start('svn', args) 127 self.proc.start('svn', args)
126 procStarted = self.proc.waitForStarted() 128 procStarted = self.proc.waitForStarted()
127 if not procStarted: 129 if not procStarted:
128 self.buttonBox.setFocus() 130 self.buttonBox.setFocus()
129 self.inputGroup.setEnabled(False) 131 self.inputGroup.setEnabled(False)
130 QMessageBox.critical(None, 132 E5MessageBox.critical(self,
131 self.trUtf8('Process Generation Error'), 133 self.trUtf8('Process Generation Error'),
132 self.trUtf8( 134 self.trUtf8(
133 'The process {0} could not be started. ' 135 'The process {0} could not be started. '
134 'Ensure, that it is in the search path.' 136 'Ensure, that it is in the search path.'
135 ).format('svn')) 137 ).format('svn'))

eric ide

mercurial