diff -r 54546929c371 -r 978bb45ffdcd eric7/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py --- a/eric7/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py Sun Oct 31 18:01:20 2021 +0100 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py Mon Nov 01 13:14:46 2021 +0100 @@ -51,8 +51,10 @@ """ Public method to get the data. - @return tuple of branch name (string) and a flag indicating to - commit the branch (boolean) + @return tuple of branch name, a flag indicating to commit the branch + and a flag indicating to force the branch creation + @rtype tuple of (str, bool, bool) """ return (self.branchComboBox.currentText().replace(" ", "_"), - self.commitCheckBox.isChecked()) + self.commitCheckBox.isChecked(), + self.forceCheckBox.isChecked())