diff -r 0a02c433f52d -r 5883ce99ee12 Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py Sun Nov 03 15:58:22 2013 +0100 @@ -284,7 +284,7 @@ self.contents.clear() if not self.logEntries: - self.errors.append(self.trUtf8("No log available for '{0}'")\ + self.errors.append(self.trUtf8("No log available for '{0}'") .format(self.filename)) self.errorGroup.show() return @@ -362,19 +362,19 @@ Utilities.html_encode(fileCopies[f])) else: html += self.trUtf8('Added {0}<br />\n')\ - .format(Utilities.html_encode(f)) + .format(Utilities.html_encode(f)) if entry["files_mods"]: html += '<br />\n' for f in entry["files_mods"].strip().split(", "): html += self.trUtf8('Modified {0}<br />\n')\ - .format(Utilities.html_encode(f)) + .format(Utilities.html_encode(f)) if entry["file_dels"]: html += '<br />\n' for f in entry["file_dels"].strip().split(", "): html += self.trUtf8('Deleted {0}<br />\n')\ - .format(Utilities.html_encode(f)) + .format(Utilities.html_encode(f)) html += '</p>{0}<br/>\n'.format(80 * "=") @@ -394,8 +394,8 @@ while self.process.canReadLine(): s = str(self.process.readLine(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.__processOutputLine(s) def __processOutputLine(self, line): @@ -417,8 +417,8 @@ if key == "change": self.endInitialText = True if key in ("change", "branches", "tags", "parents", "user", - "date", "file_copies", "file_adds", "files_mods", - "file_dels", "bookmarks", "phase"): + "date", "file_copies", "file_adds", "files_mods", + "file_dels", "bookmarks", "phase"): self.lastLogEntry[key] = value.strip() elif key == "description": self.lastLogEntry[key] = [value.strip()] @@ -437,8 +437,8 @@ """ if self.process is not None: s = str(self.process.readAllStandardError(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.__showError(s) def __showError(self, out):