diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Fri Mar 11 16:51:57 2011 +0100 @@ -14,6 +14,7 @@ import Preferences + class HgCommitDialog(QWidget, Ui_HgCommitDialog): """ Class implementing a dialog to enter the commit message. @@ -24,7 +25,7 @@ accepted = pyqtSignal() rejected = pyqtSignal() - def __init__(self, vcs, parent = None): + def __init__(self, vcs, parent=None): """ Constructor @@ -60,7 +61,7 @@ no = int(Preferences.Prefs.settings\ .value('Mercurial/CommitMessages', 20)) del self.recentCommitMessages[no:] - Preferences.Prefs.settings.setValue('Mercurial/Commits', + Preferences.Prefs.settings.setValue('Mercurial/Commits', self.recentCommitMessages) return msg