forked from qt-creator/qt-creator
Vcs: Remove unused GetRepositoryRootOperation
Change-Id: I2443aef788c75a96ba19e2499dfb3f17c201d468 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -86,7 +86,6 @@ bool BazaarControl::supportsOperation(Operation operation) const
|
||||
case Core::IVersionControl::MoveOperation:
|
||||
case Core::IVersionControl::CreateRepositoryOperation:
|
||||
case Core::IVersionControl::AnnotateOperation:
|
||||
case Core::IVersionControl::GetRepositoryRootOperation:
|
||||
break;
|
||||
case Core::IVersionControl::SnapshotOperations:
|
||||
supported = false;
|
||||
@@ -134,13 +133,6 @@ bool BazaarControl::vcsAnnotate(const QString &file, int line)
|
||||
return true;
|
||||
}
|
||||
|
||||
QString BazaarControl::vcsGetRepositoryURL(const QString &directory)
|
||||
{
|
||||
const QString repositoryRoot = m_bazaarClient->findTopLevelForFile(directory);
|
||||
const BranchInfo branchInfo = m_bazaarClient->synchronousBranchQuery(repositoryRoot);
|
||||
return branchInfo.isBoundToBranch ? branchInfo.branchLocation : QString();
|
||||
}
|
||||
|
||||
void BazaarControl::changed(const QVariant &v)
|
||||
{
|
||||
switch (v.type()) {
|
||||
|
||||
Reference in New Issue
Block a user