VCS: Introduce configureable timeout to vcs,svn, p4.

as already present for git, mercurial.

Task-number: QTCREATORBUG-475
This commit is contained in:
Friedemann Kleint
2009-12-14 12:45:45 +01:00
parent e600c0ddba
commit dde46ec1eb
16 changed files with 159 additions and 54 deletions

View File

@@ -46,6 +46,9 @@ struct CVSSettings
void fromSettings(QSettings *);
void toSettings(QSettings *) const;
inline int timeOutMS() const { return timeOutS * 10000; }
inline int longTimeOutMS() const { return timeOutS * 100000; }
// Add common options to the command line
QStringList addOptions(const QStringList &args) const;
@@ -54,6 +57,7 @@ struct CVSSettings
QString cvsCommand;
QString cvsRoot;
QString cvsDiffOptions;
int timeOutS;
bool promptToSubmit;
bool describeByCommitId;
};