forked from qt-creator/qt-creator
Added few new functions to IVersionControl, VCSManager and GeneratedFile to support the funcationality needed by the trac plugin.
All the version control plugins updated to have implementations according to the interface changes. Merge-request: 2178 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Merge-request: 2178 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
32fff3f6cd
commit
65e95c3aba
@@ -58,6 +58,8 @@ bool CVSControl::supportsOperation(Operation operation) const
|
||||
case MoveOperation:
|
||||
case CreateRepositoryOperation:
|
||||
case SnapshotOperations:
|
||||
case CheckoutOperation:
|
||||
case GetRepositoryRootOperation:
|
||||
rc = false;
|
||||
break;
|
||||
}
|
||||
@@ -94,6 +96,16 @@ bool CVSControl::vcsCreateRepository(const QString &)
|
||||
return false;
|
||||
}
|
||||
|
||||
QString CVSControl::vcsGetRepositoryURL(const QString &)
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
bool CVSControl::vcsCheckout(const QString &/*directory*/, const QByteArray &/*url*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
QString CVSControl::vcsCreateSnapshot(const QString &)
|
||||
{
|
||||
return QString();
|
||||
|
||||
@@ -53,6 +53,8 @@ public:
|
||||
virtual bool vcsDelete(const QString &filename);
|
||||
virtual bool vcsMove(const QString &from, const QString &to);
|
||||
virtual bool vcsCreateRepository(const QString &directory);
|
||||
virtual bool vcsCheckout(const QString &directory, const QByteArray &url);
|
||||
virtual QString vcsGetRepositoryURL(const QString &directory);
|
||||
virtual QString vcsCreateSnapshot(const QString &topLevel);
|
||||
virtual QStringList vcsSnapshots(const QString &topLevel);
|
||||
virtual bool vcsRestoreSnapshot(const QString &topLevel, const QString &name);
|
||||
|
||||
Reference in New Issue
Block a user