forked from qt-creator/qt-creator
DVCS: Never prompt before committing
Commit is local. There's no reason to prompt. Change-Id: I3aed5ad4931bc49c62d52f906100273739f4af89 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
dba595fdea
commit
b034b0b955
@@ -606,7 +606,7 @@ bool MercurialPlugin::submitEditorAboutToClose()
|
||||
Core::IDocument *editorFile = commitEditor->document();
|
||||
QTC_ASSERT(editorFile, return true);
|
||||
|
||||
bool dummyPrompt = mercurialSettings.boolValue(MercurialSettings::promptOnSubmitKey);
|
||||
bool dummyPrompt = false;
|
||||
const VcsBaseSubmitEditor::PromptSubmitResult response =
|
||||
commitEditor->promptSubmit(tr("Close Commit Editor"), tr("Do you want to commit the changes?"),
|
||||
tr("Message check failed. Do you want to proceed?"),
|
||||
|
||||
Reference in New Issue
Block a user