Use "bzr branch" instead of "bzr clone"

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

Change-Id: Iafed249ff213fbd2734a900cb410fa7f23f3e84f
Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
This commit is contained in:
Aurélien Gâteau
2012-02-01 11:24:54 +01:00
committed by Tobias Hunger
parent 7e04a679ae
commit 4790641934
2 changed files with 11 additions and 0 deletions

View File

@@ -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;

View File

@@ -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,