--- a/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Thu Apr 03 23:05:31 2014 +0200 @@ -27,17 +27,20 @@ accepted = pyqtSignal() rejected = pyqtSignal() - def __init__(self, vcs, mq, parent=None): + def __init__(self, vcs, msg, mq, parent=None): """ Constructor @param vcs reference to the vcs object + @param msg initial message (string) @param mq flag indicating a queue commit (boolean) @param parent parent widget (QWidget) """ super(HgCommitDialog, self).__init__(parent, Qt.WindowFlags(Qt.Window)) self.setupUi(self) + self.logEdit.setPlainText(msg) + if mq: self.amendCheckBox.setVisible(False) self.subrepoCheckBox.setVisible(False)