forked from qt-creator/qt-creator
VCS: Allow to run commands synchronously
Run some commands synchronously. This avoids issues with the UI reacting to file changes done by the VCS on windows which can lead to crashes. Task-number: QTCREATORBUG-3021 Reviewed-by: Tobias Hunger
This commit is contained in:
committed by
Tobias Hunger
parent
a13014eb4e
commit
818f5f0e78
@@ -1219,11 +1219,9 @@ bool SubversionPlugin::vcsMove(const QString &workingDir, const QString &from, c
|
||||
{
|
||||
QStringList args(QLatin1String("move"));
|
||||
args << QDir::toNativeSeparators(from) << QDir::toNativeSeparators(to);
|
||||
qDebug()<<args;
|
||||
const SubversionResponse response =
|
||||
runSvn(workingDir, args, m_settings.timeOutMS(),
|
||||
SshPasswordPrompt|ShowStdOutInLogWindow);
|
||||
qDebug() << response.stdOut << "\n"<<response.stdErr;
|
||||
SshPasswordPrompt|ShowStdOutInLogWindow|FullySynchronously);
|
||||
return !response.error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user