diff -r 7ad9161c5293 -r 8487f9c2533b Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sat Jun 16 18:28:31 2012 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sun Jun 17 13:34:46 2012 +0200 @@ -37,6 +37,8 @@ if vcs.version < (2, 2): self.amendCheckBox.setEnabled(False) + + self.subrepoCheckBox.setVisible(vcs.hasSubrepositories()) def showEvent(self, evt): """ @@ -76,6 +78,14 @@ """ return self.amendCheckBox.isChecked() + def commitSubrepositories(self): + """ + Public method to retrieve the state of the commit sub-repositories flag. + + @return state of the sub-repositories flag (boolean) + """ + return self.subrepoCheckBox.isChecked() + def on_buttonBox_clicked(self, button): """ Private slot called by a button of the button box clicked.