Bzr: Report progress during initial checkout

Change-Id: I7d2ade84f991a558d78f8d63bc981a91da517cb3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-05-18 12:40:07 +02:00
parent 0968963100
commit 514cf70615

View File

@@ -148,8 +148,9 @@ Core::ShellCommand *BazaarControl::createInitialCheckoutCommand(const QString &u
args << m_bazaarClient->vcsCommandString(BazaarClient::CloneCommand)
<< extraArgs << url << localName;
auto command = new VcsBase::VcsCommand(baseDirectory.toString(),
m_bazaarClient->processEnvironment());
QProcessEnvironment env = m_bazaarClient->processEnvironment();
env.insert(QLatin1String("BZR_PROGRESS_BAR"), QLatin1String("text"));
auto command = new VcsBase::VcsCommand(baseDirectory.toString(), env);
command->addJob(m_bazaarClient->vcsBinary(), args, -1);
return command;
}