forked from qt-creator/qt-creator
VCS[Mercurial]: Make push/pull synchronous commands.
..for timeout handling to take effect. Also, log window will update continuously. Task-number: QTCREATORBUG-777
This commit is contained in:
@@ -470,7 +470,7 @@ void MercurialPlugin::pull()
|
||||
dialog.setWindowTitle(tr("Pull Source"));
|
||||
if (dialog.exec() != QDialog::Accepted)
|
||||
return;
|
||||
m_client->pull(state.topLevel(), dialog.getRepositoryString());
|
||||
m_client->pullSync(state.topLevel(), dialog.getRepositoryString());
|
||||
}
|
||||
|
||||
void MercurialPlugin::push()
|
||||
@@ -482,7 +482,7 @@ void MercurialPlugin::push()
|
||||
dialog.setWindowTitle(tr("Push Destination"));
|
||||
if (dialog.exec() != QDialog::Accepted)
|
||||
return;
|
||||
m_client->push(state.topLevel(), dialog.getRepositoryString());
|
||||
m_client->pushSync(state.topLevel(), dialog.getRepositoryString());
|
||||
}
|
||||
|
||||
void MercurialPlugin::update()
|
||||
|
||||
Reference in New Issue
Block a user