aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mercurial
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-10-14 15:38:00 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-10-15 16:53:58 +0200
commit741ab2cbfb6f61c08df41d7422d2d2f03be3c02f (patch)
tree535bbcd0163c8c02e38fa40c37aff4ef905bd9a5 /src/plugins/mercurial
parentfe47725ae61be18f30911ecff57035b4c1c4bd79 (diff)
Vcs: Remove snapshot support
The functionality is unused. Change-Id: I45017106509b8dbff9f3eff3aaef6de19be31ce7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/mercurial')
-rw-r--r--src/plugins/mercurial/mercurialcontrol.cpp20
-rw-r--r--src/plugins/mercurial/mercurialcontrol.h4
2 files changed, 0 insertions, 24 deletions
diff --git a/src/plugins/mercurial/mercurialcontrol.cpp b/src/plugins/mercurial/mercurialcontrol.cpp
index c8fa812e2dd..5ab69bc9dd7 100644
--- a/src/plugins/mercurial/mercurialcontrol.cpp
+++ b/src/plugins/mercurial/mercurialcontrol.cpp
@@ -129,26 +129,6 @@ bool MercurialControl::vcsCreateRepository(const QString &directory)
return mercurialClient->synchronousCreateRepository(directory);
}
-QString MercurialControl::vcsCreateSnapshot(const QString &)
-{
- return QString();
-}
-
-QStringList MercurialControl::vcsSnapshots(const QString &)
-{
- return QStringList();
-}
-
-bool MercurialControl::vcsRestoreSnapshot(const QString &, const QString &)
-{
- return false;
-}
-
-bool MercurialControl::vcsRemoveSnapshot(const QString &, const QString &)
-{
- return false;
-}
-
bool MercurialControl::vcsAnnotate(const QString &file, int line)
{
const QFileInfo fi(file);
diff --git a/src/plugins/mercurial/mercurialcontrol.h b/src/plugins/mercurial/mercurialcontrol.h
index 4a5c2e872c4..bfd49b0f6f1 100644
--- a/src/plugins/mercurial/mercurialcontrol.h
+++ b/src/plugins/mercurial/mercurialcontrol.h
@@ -63,10 +63,6 @@ public:
bool vcsCreateRepository(const QString &directory);
bool vcsCheckout(const QString &directory, const QByteArray &url);
QString vcsGetRepositoryURL(const QString &directory);
- QString vcsCreateSnapshot(const QString &topLevel);
- QStringList vcsSnapshots(const QString &topLevel);
- bool vcsRestoreSnapshot(const QString &topLevel, const QString &name);
- bool vcsRemoveSnapshot(const QString &topLevel, const QString &name);
bool sccManaged(const QString &filename);
bool vcsAnnotate(const QString &file, int line);