--- a/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py Fri Mar 11 16:51:57 2011 +0100 @@ -17,11 +17,12 @@ import Preferences import Utilities + class SvnBlameDialog(QDialog, Ui_SvnBlameDialog): """ Class implementing a dialog to show the output of the svn blame command. """ - def __init__(self, vcs, parent = None): + def __init__(self, vcs, parent=None): """ Constructor @@ -85,7 +86,6 @@ self.vcs.addArguments(args, self.vcs.options['global']) args.append(fname) - self.process.setWorkingDirectory(dname) self.process.start('svn', args) @@ -156,7 +156,7 @@ @param author author of the change (string) @param text line of text from the annotated file (string) """ - itm = QTreeWidgetItem(self.blameList, + itm = QTreeWidgetItem(self.blameList, [revision, author, "{0:d}".format(self.lineno), text]) self.lineno += 1 itm.setTextAlignment(0, Qt.AlignRight) @@ -190,8 +190,8 @@ """ if self.process is not None: self.errorGroup.show() - s = str(self.process.readAllStandardError(), - Preferences.getSystem("IOEncoding"), + s = str(self.process.readAllStandardError(), + Preferences.getSystem("IOEncoding"), 'replace') self.errors.insertPlainText(s) self.errors.ensureCursorVisible() @@ -244,4 +244,4 @@ self.intercept = False evt.accept() return - QDialog.keyPressEvent(self, evt) \ No newline at end of file + QDialog.keyPressEvent(self, evt)