Core: Remove unused functionality to checkout from VCS

Change-Id: I1ee17142e14200c5ae9597bbf9bee3f3978704f4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-01-14 11:51:26 +01:00
parent fdadddfb7a
commit 6d7c2eed60
17 changed files with 0 additions and 79 deletions

View File

@@ -367,23 +367,6 @@ bool VcsManager::promptToDelete(const QString &fileName)
return true;
}
IVersionControl *VcsManager::checkout(const QString &versionControlType,
const QString &directory,
const QByteArray &url)
{
foreach (IVersionControl *versionControl, allVersionControls()) {
if (versionControl->displayName() == versionControlType
&& versionControl->supportsOperation(IVersionControl::CheckoutOperation)) {
if (versionControl->vcsCheckout(directory, url)) {
d->cache(versionControl, directory, directory);
return versionControl;
}
return 0;
}
}
return 0;
}
bool VcsManager::promptToDelete(IVersionControl *vc, const QString &fileName)
{
QTC_ASSERT(vc, return true);