Commit 47906419 authored by Aurélien Gâteau's avatar Aurélien Gâteau Committed by Tobias Hunger

Use "bzr branch" instead of "bzr clone"

"bzr clone" is deprecated. "bzr branch" does the same thing.

Change-Id: Iafed249ff213fbd2734a900cb410fa7f23f3e84f
Reviewed-by: default avatarHugues Delorme <delorme.hugues@fougsys.fr>
parent 7e04a679
......@@ -140,6 +140,16 @@ QString BazaarClient::vcsEditorKind(VcsCommand cmd) const
}
}
QString BazaarClient::vcsCommandString(VcsCommand cmd) const
{
switch (cmd) {
case CloneCommand:
return QLatin1String("branch");
default:
return VcsBaseClient::vcsCommandString(cmd);
}
}
QStringList BazaarClient::revisionSpec(const QString &revision) const
{
QStringList args;
......
......@@ -64,6 +64,7 @@ public:
protected:
QString vcsEditorKind(VcsCommand cmd) const;
QString vcsCommandString(VcsCommand cmd) const;
QStringList revisionSpec(const QString &revision) const;
VcsBase::VcsBaseEditorParameterWidget *createDiffEditor(const QString &workingDir,
const QStringList &files,
......
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