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:
Friedemann Kleint
2010-05-25 12:24:18 +02:00
parent 1c69b97ca6
commit 7b60fd1b89
4 changed files with 59 additions and 29 deletions

View File

@@ -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()