--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py Tue Oct 15 18:29:32 2013 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py Tue Oct 15 18:54:53 2013 +0200 @@ -132,7 +132,8 @@ """ Private method to resort the tree. """ - self.statusList.sortItems(self.statusList.sortColumn(), + self.statusList.sortItems( + self.statusList.sortColumn(), self.statusList.header().sortIndicatorOrder()) def __resizeColumns(self): @@ -358,9 +359,10 @@ self.process.setReadChannel(QProcess.StandardOutput) while self.process.canReadLine(): - line = str(self.process.readLine(), - Preferences.getSystem("IOEncoding"), - 'replace') + line = str( + self.process.readLine(), + Preferences.getSystem("IOEncoding"), + 'replace') self.__processOutputLine(line) def __processOutputLine(self, line):