Commit c44a0e59 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

VCS[Mercurial]: Working directory not set for asynchronous commands.

Task-number: QTCREATORBUG-1503
parent b8c78764
......@@ -193,6 +193,8 @@ void MercurialJobRunner::task(const QSharedPointer<HgTask> &job)
qDebug() << Q_FUNC_INFO << "Repository root is " << taskData->repositoryRoot();
QProcess hgProcess;
if (!taskData->repositoryRoot().isEmpty())
hgProcess.setWorkingDirectory(taskData->repositoryRoot());
hgProcess.start(binary, args);
if (!hgProcess.waitForStarted()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment