Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py

changeset 537
72b32daeb8d6
parent 500
c3abc7895a01
child 791
9ec2ac20e54e
equal deleted inserted replaced
536:6d8d39753c82 537:72b32daeb8d6
7 Module implementing a dialog to show the output of the svn blame command. 7 Module implementing a dialog to show the output of the svn blame command.
8 """ 8 """
9 9
10 from PyQt4.QtCore import * 10 from PyQt4.QtCore import *
11 from PyQt4.QtGui import * 11 from PyQt4.QtGui import *
12
13 from E5Gui import E5MessageBox
12 14
13 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog 15 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog
14 16
15 import Preferences 17 import Preferences
16 import Utilities 18 import Utilities
88 90
89 self.process.start('svn', args) 91 self.process.start('svn', args)
90 procStarted = self.process.waitForStarted() 92 procStarted = self.process.waitForStarted()
91 if not procStarted: 93 if not procStarted:
92 self.inputGroup.setEnabled(False) 94 self.inputGroup.setEnabled(False)
93 QMessageBox.critical(None, 95 E5MessageBox.critical(self,
94 self.trUtf8('Process Generation Error'), 96 self.trUtf8('Process Generation Error'),
95 self.trUtf8( 97 self.trUtf8(
96 'The process {0} could not be started. ' 98 'The process {0} could not be started. '
97 'Ensure, that it is in the search path.' 99 'Ensure, that it is in the search path.'
98 ).format('svn')) 100 ).format('svn'))

eric ide

mercurial