Bazaar: add support of the "max log count" user setting

Merge-request: 327
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
cerf
2011-05-12 16:37:20 +02:00
committed by Tobias Hunger
parent 1366b12215
commit b48f1d6801
2 changed files with 6 additions and 1 deletions

View File

@@ -390,7 +390,9 @@ void BazaarPlugin::logRepository()
{
const VCSBase::VCSBasePluginState state = currentState();
QTC_ASSERT(state.hasTopLevel(), return);
m_client->log(state.topLevel());
QStringList extraOptions;
extraOptions += QString("--limit=%1").arg(settings().logCount());
m_client->log(state.topLevel(), QStringList(), extraOptions);
}
void BazaarPlugin::revertAll()