forked from qt-creator/qt-creator
VCS[Mercurial]: Working directory not set for asynchronous commands.
Manually fix breakage introduced by merge conflicts. Task-number: QTCREATORBUG-1503
This commit is contained in:
@@ -193,6 +193,7 @@ void MercurialJobRunner::task(const QSharedPointer<HgTask> &job)
|
|||||||
qDebug() << Q_FUNC_INFO << "Repository root is " << taskData->repositoryRoot();
|
qDebug() << Q_FUNC_INFO << "Repository root is " << taskData->repositoryRoot();
|
||||||
|
|
||||||
QProcess hgProcess;
|
QProcess hgProcess;
|
||||||
|
hgProcess.setWorkingDirectory(taskData->repositoryRoot());
|
||||||
hgProcess.start(binary, args);
|
hgProcess.start(binary, args);
|
||||||
|
|
||||||
if (!hgProcess.waitForStarted()) {
|
if (!hgProcess.waitForStarted()) {
|
||||||
|
Reference in New Issue
Block a user