VCS: Introduce NoOutput command flag

Suppresses all kinds of output

Change-Id: I3bd2173fc3efcfcc2ce7434d9545cd1492d7c0ab
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2014-02-12 10:09:03 +02:00
committed by Orgad Shaneh
parent 0bb318939b
commit dafaab25bd
2 changed files with 4 additions and 6 deletions

View File

@@ -118,11 +118,7 @@ class ClearCasePlugin : public VcsBase::VcsBasePlugin
Q_OBJECT Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "ClearCase.json") Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "ClearCase.json")
static const unsigned SilentRun = enum { SilentRun = NoOutput | FullySynchronously };
SuppressStdErrInLogWindow |
SuppressFailMessageInLogWindow |
SuppressCommandLogging |
FullySynchronously;
public: public:
ClearCasePlugin(); ClearCasePlugin();

View File

@@ -174,7 +174,9 @@ public:
FullySynchronously = 0x100, // Suppress local event loop (in case UI actions are FullySynchronously = 0x100, // Suppress local event loop (in case UI actions are
// triggered by file watchers). // triggered by file watchers).
ExpectRepoChanges = 0x200, // Expect changes in repository by the command ExpectRepoChanges = 0x200, // Expect changes in repository by the command
SilentOutput = 0x400 // With ShowStdOutInLogWindow - append output silently SilentOutput = 0x400, // With ShowStdOutInLogWindow - append output silently
NoOutput = SuppressStdErrInLogWindow | SuppressFailMessageInLogWindow
| SuppressCommandLogging
}; };
static Utils::SynchronousProcessResponse runVcs(const QString &workingDir, static Utils::SynchronousProcessResponse runVcs(const QString &workingDir,