Commit 34d9cc2e authored by Evgeniy Ivanov's avatar Evgeniy Ivanov
Browse files

checkout() was moved from ICentralisedVC and IDistributed to IBacicVC

parent 76a5d2ca
...@@ -80,12 +80,4 @@ KDevelop::VcsJob* ...@@ -80,12 +80,4 @@ KDevelop::VcsJob*
return log(localLocation, rev, 0); return log(localLocation, rev, 0);
} }
KDevelop::VcsJob*
GitPlugin::checkout(const KUrl &localLocation,
const QString &branch)
{
DVCSjob* job = d->m_exec->checkout(localLocation.path(), branch);
return job;
}
// #include "gitplugin.moc" // #include "gitplugin.moc"
...@@ -57,10 +57,6 @@ public: ...@@ -57,10 +57,6 @@ public:
KDevelop::VcsJob* log(const KUrl& localLocation, KDevelop::VcsJob* log(const KUrl& localLocation,
const KDevelop::VcsRevision& rev, const KDevelop::VcsRevision& rev,
const KDevelop::VcsRevision& limit); const KDevelop::VcsRevision& limit);
//TODO: use KUrl for location!
KDevelop::VcsJob* checkout(const KUrl &localLocation,
const QString &repo);
}; };
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment