Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py

changeset 1746
6c74208f22a2
parent 1640
1699d46026cd
child 1748
f6169c7a5f65
equal deleted inserted replaced
1743:4f9afcd8eb9d 1746:6c74208f22a2
233 args.append('--stop-on-copy') 233 args.append('--stop-on-copy')
234 args.append(self.fname) 234 args.append(self.fname)
235 235
236 self.process.setWorkingDirectory(self.dname) 236 self.process.setWorkingDirectory(self.dname)
237 237
238 self.inputGroup.setEnabled(True)
239 self.inputGroup.show()
240
238 self.process.start('svn', args) 241 self.process.start('svn', args)
239 procStarted = self.process.waitForStarted() 242 procStarted = self.process.waitForStarted()
240 if not procStarted: 243 if not procStarted:
241 self.inputGroup.setEnabled(False) 244 self.inputGroup.setEnabled(False)
245 self.inputGroup.hide()
242 E5MessageBox.critical(self, 246 E5MessageBox.critical(self,
243 self.trUtf8('Process Generation Error'), 247 self.trUtf8('Process Generation Error'),
244 self.trUtf8( 248 self.trUtf8(
245 'The process {0} could not be started. ' 249 'The process {0} could not be started. '
246 'Ensure, that it is in the search path.' 250 'Ensure, that it is in the search path.'
289 293
290 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) 294 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True)
291 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) 295 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False)
292 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) 296 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True)
293 297
298 self.inputGroup.setEnabled(False)
299 self.inputGroup.hide()
294 self.inputGroup.setEnabled(False) 300 self.inputGroup.setEnabled(False)
295 301
296 def __processBuffer(self): 302 def __processBuffer(self):
297 """ 303 """
298 Private method to process the buffered output of the svn log command. 304 Private method to process the buffered output of the svn log command.

eric ide

mercurial