250 """ |
250 """ |
251 Public slot to start the svn log command. |
251 Public slot to start the svn log command. |
252 |
252 |
253 @param fn filename to show the log for (string) |
253 @param fn filename to show the log for (string) |
254 """ |
254 """ |
|
255 self.errorGroup.hide() |
|
256 QApplication.processEvents() |
|
257 |
255 self.filename = fn |
258 self.filename = fn |
256 self.dname, self.fname = self.vcs.splitPath(fn) |
259 self.dname, self.fname = self.vcs.splitPath(fn) |
257 |
260 |
258 self.activateWindow() |
261 self.activateWindow() |
259 self.raise_() |
262 self.raise_() |
394 |
397 |
395 It reads the error output of the process and inserts it into the |
398 It reads the error output of the process and inserts it into the |
396 error pane. |
399 error pane. |
397 """ |
400 """ |
398 if self.process is not None: |
401 if self.process is not None: |
|
402 self.errorGroup.show() |
399 s = str(self.process.readAllStandardError(), |
403 s = str(self.process.readAllStandardError(), |
400 Preferences.getSystem("IOEncoding"), |
404 Preferences.getSystem("IOEncoding"), |
401 'replace') |
405 'replace') |
402 self.errors.insertPlainText(s) |
406 self.errors.insertPlainText(s) |
403 self.errors.ensureCursorVisible() |
407 self.errors.ensureCursorVisible() |
584 def on_stopCheckBox_clicked(self, checked): |
588 def on_stopCheckBox_clicked(self, checked): |
585 """ |
589 """ |
586 Private slot called, when the stop on copy/move checkbox is clicked |
590 Private slot called, when the stop on copy/move checkbox is clicked |
587 """ |
591 """ |
588 self.vcs.getPlugin().setPreferences("StopLogOnCopy", |
592 self.vcs.getPlugin().setPreferences("StopLogOnCopy", |
589 int(self.stopCheckBox.isChecked())) |
593 self.stopCheckBox.isChecked()) |
590 self.nextButton.setEnabled(True) |
594 self.nextButton.setEnabled(True) |
591 self.limitSpinBox.setEnabled(True) |
595 self.limitSpinBox.setEnabled(True) |
592 |
596 |
593 def on_passwordCheckBox_toggled(self, isOn): |
597 def on_passwordCheckBox_toggled(self, isOn): |
594 """ |
598 """ |
613 self.errors.insertPlainText(os.linesep) |
617 self.errors.insertPlainText(os.linesep) |
614 self.errors.ensureCursorVisible() |
618 self.errors.ensureCursorVisible() |
615 else: |
619 else: |
616 self.errors.insertPlainText(input) |
620 self.errors.insertPlainText(input) |
617 self.errors.ensureCursorVisible() |
621 self.errors.ensureCursorVisible() |
|
622 self.errorGroup.show() |
618 |
623 |
619 self.process.write(input) |
624 self.process.write(input) |
620 |
625 |
621 self.passwordCheckBox.setChecked(False) |
626 self.passwordCheckBox.setChecked(False) |
622 self.input.clear() |
627 self.input.clear() |