diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-01-14 11:51:26 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-01-15 10:10:06 +0100 |
commit | 6d7c2eed606071081a5245c3cb8e811d858f6d4d (patch) | |
tree | 8d2239204babed765723b2b3626e1368139dfb7e /src/plugins/mercurial | |
parent | fdadddfb7a7087e48fc65ffb0af19d03db593295 (diff) |
Core: Remove unused functionality to checkout from VCS
Change-Id: I1ee17142e14200c5ae9597bbf9bee3f3978704f4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/mercurial')
-rw-r--r-- | src/plugins/mercurial/mercurialcontrol.cpp | 6 | ||||
-rw-r--r-- | src/plugins/mercurial/mercurialcontrol.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/mercurial/mercurialcontrol.cpp b/src/plugins/mercurial/mercurialcontrol.cpp index e1d2c2438a..e5d384f960 100644 --- a/src/plugins/mercurial/mercurialcontrol.cpp +++ b/src/plugins/mercurial/mercurialcontrol.cpp @@ -112,7 +112,6 @@ bool MercurialControl::supportsOperation(Operation operation) const case Core::IVersionControl::MoveOperation: case Core::IVersionControl::CreateRepositoryOperation: case Core::IVersionControl::AnnotateOperation: - case Core::IVersionControl::CheckoutOperation: case Core::IVersionControl::GetRepositoryRootOperation: break; case Core::IVersionControl::SnapshotOperations: @@ -172,11 +171,6 @@ bool MercurialControl::sccManaged(const QString &filename) return mercurialClient->manifestSync(topLevel, topLevelDir.relativeFilePath(filename)); } -bool MercurialControl::vcsCheckout(const QString &directory, const QByteArray &url) -{ - return mercurialClient->synchronousClone(QString(), directory, QLatin1String(url)); -} - QString MercurialControl::vcsGetRepositoryURL(const QString &directory) { return mercurialClient->vcsGetRepositoryURL(directory); diff --git a/src/plugins/mercurial/mercurialcontrol.h b/src/plugins/mercurial/mercurialcontrol.h index 1342110d22..422f5bccb6 100644 --- a/src/plugins/mercurial/mercurialcontrol.h +++ b/src/plugins/mercurial/mercurialcontrol.h @@ -62,7 +62,6 @@ public: bool vcsDelete(const QString &filename); bool vcsMove(const QString &from, const QString &to); bool vcsCreateRepository(const QString &directory); - bool vcsCheckout(const QString &directory, const QByteArray &url); QString vcsGetRepositoryURL(const QString &directory); bool sccManaged(const QString &filename); bool vcsAnnotate(const QString &file, int line); |