forked from qt-creator/qt-creator
Bazaar: Remove some dead code
Change-Id: I0598ff3b867246fd73bbb5d118ce85d70d4762fc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -111,16 +111,6 @@ BazaarClient::BazaarClient(BazaarSettings *settings) : VcsBaseClient(settings)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BazaarClient::synchronousSetUserId()
|
|
||||||
{
|
|
||||||
QStringList args;
|
|
||||||
args << QLatin1String("whoami")
|
|
||||||
<< (settings().stringValue(BazaarSettings::userNameKey) + QLatin1String(" <")
|
|
||||||
+ settings().stringValue(BazaarSettings::userEmailKey) + QLatin1Char('>'));
|
|
||||||
return vcsFullySynchronousExec(QDir::currentPath(), args).result
|
|
||||||
== SynchronousProcessResponse::Finished;
|
|
||||||
}
|
|
||||||
|
|
||||||
BranchInfo BazaarClient::synchronousBranchQuery(const QString &repositoryRoot) const
|
BranchInfo BazaarClient::synchronousBranchQuery(const QString &repositoryRoot) const
|
||||||
{
|
{
|
||||||
QFile branchConfFile(repositoryRoot + QLatin1Char('/') +
|
QFile branchConfFile(repositoryRoot + QLatin1Char('/') +
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ class BazaarClient : public VcsBase::VcsBaseClient
|
|||||||
public:
|
public:
|
||||||
explicit BazaarClient(BazaarSettings *settings);
|
explicit BazaarClient(BazaarSettings *settings);
|
||||||
|
|
||||||
bool synchronousSetUserId();
|
|
||||||
BranchInfo synchronousBranchQuery(const QString &repositoryRoot) const;
|
BranchInfo synchronousBranchQuery(const QString &repositoryRoot) const;
|
||||||
bool synchronousUncommit(const QString &workingDir,
|
bool synchronousUncommit(const QString &workingDir,
|
||||||
const QString& revision = QString(),
|
const QString& revision = QString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user