forked from qt-creator/qt-creator
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:
committed by
Tobias Hunger
parent
7e04a679ae
commit
4790641934
@@ -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 BazaarClient::revisionSpec(const QString &revision) const
|
||||||
{
|
{
|
||||||
QStringList args;
|
QStringList args;
|
||||||
|
@@ -64,6 +64,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
QString vcsEditorKind(VcsCommand cmd) const;
|
QString vcsEditorKind(VcsCommand cmd) const;
|
||||||
|
QString vcsCommandString(VcsCommand cmd) const;
|
||||||
QStringList revisionSpec(const QString &revision) const;
|
QStringList revisionSpec(const QString &revision) const;
|
||||||
VcsBase::VcsBaseEditorParameterWidget *createDiffEditor(const QString &workingDir,
|
VcsBase::VcsBaseEditorParameterWidget *createDiffEditor(const QString &workingDir,
|
||||||
const QStringList &files,
|
const QStringList &files,
|
||||||
|
Reference in New Issue
Block a user