forked from qt-creator/qt-creator
VCS: Use relative path for apply/revert chunk
Task-number: QTCREATORBUG-9715 Change-Id: I3bfaea3922ace396230ef5e215712a9f3459808b Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
db4ce016bc
commit
20e9b33741
@@ -1056,7 +1056,7 @@ bool VcsBasePlugin::runPatch(const QByteArray &input, const QString &workingDire
|
||||
QStringList args(QLatin1String("-p") + QString::number(strip));
|
||||
if (reverse)
|
||||
args << QLatin1String("-R");
|
||||
ow->appendCommand(QString(), patch, args);
|
||||
ow->appendCommand(workingDirectory, patch, args);
|
||||
patchProcess.start(patch, args);
|
||||
if (!patchProcess.waitForStarted()) {
|
||||
ow->appendError(tr("Unable to launch '%1': %2").arg(patch, patchProcess.errorString()));
|
||||
|
||||
Reference in New Issue
Block a user