forked from qt-creator/qt-creator
Vcs: Some naming re-organization
Rename VcsCommand to VcsCommandTag, Command into VcsCommand (Too generic to not mistake for Core::Command IMNSHO), remove the now unneeded namespace qualification when not needed, adjust surrounding code. Change-Id: Iceb18a21e5e6dffa1a622241286f766985bb8d22 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include "commonvcssettings.h"
|
||||
#include "vcsoutputwindow.h"
|
||||
#include "corelistener.h"
|
||||
#include "command.h"
|
||||
#include "vcscommand.h"
|
||||
|
||||
#include <coreplugin/documentmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -799,8 +799,8 @@ SynchronousProcessResponse VcsBasePlugin::runVcs(const QString &workingDir,
|
||||
QTextCodec *outputCodec,
|
||||
const QProcessEnvironment &env)
|
||||
{
|
||||
Command command(binary, workingDir,
|
||||
env.isEmpty() ? QProcessEnvironment::systemEnvironment() : env);
|
||||
VcsCommand command(binary, workingDir,
|
||||
env.isEmpty() ? QProcessEnvironment::systemEnvironment() : env);
|
||||
command.addFlags(flags);
|
||||
command.setCodec(outputCodec);
|
||||
return command.runVcs(arguments, timeOutMS);
|
||||
|
||||
Reference in New Issue
Block a user