Commit 3ddb751b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Vcs: Move method around in vcsbaseclient.cpp, no code change



Change-Id: I72ec25e5e98b162779a101534d511cb786d99426
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent 5954506d
......@@ -218,6 +218,15 @@ bool VcsBaseClientImpl::vcsFullySynchronousExec(const QString &workingDir, const
return result;
}
Utils::SynchronousProcessResponse VcsBaseClientImpl::vcsSynchronousExec(const QString &workingDir,
const QStringList &args,
unsigned flags,
QTextCodec *outputCodec) const
{
return VcsBasePlugin::runVcs(workingDir, vcsBinary(), args, vcsTimeoutS(), flags,
outputCodec, processEnvironment());
}
int VcsBaseClientImpl::vcsTimeoutS() const
{
return settings().intValue(VcsBaseClientSettings::timeoutKey);
......@@ -400,15 +409,6 @@ bool VcsBaseClient::synchronousPush(const QString &workingDir,
return resp.result == Utils::SynchronousProcessResponse::Finished;
}
Utils::SynchronousProcessResponse VcsBaseClientImpl::vcsSynchronousExec(const QString &workingDir,
const QStringList &args,
unsigned flags,
QTextCodec *outputCodec) const
{
return VcsBasePlugin::runVcs(workingDir, vcsBinary(), args, vcsTimeoutS(), flags,
outputCodec, processEnvironment());
}
void VcsBaseClient::annotate(const QString &workingDir, const QString &file,
const QString &revision /* = QString() */,
int lineNumber /* = -1 */,
......
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