Commit 03265fe7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Adapt to changes in KDevPlatform

parent 1e33b957
/***************************************************************************
* Copyright 2008 Evgeniy Ivanov <powerfox@kde.ru> *
* Copyright 2009 Hugo Parente Lima <hugo.pl@gmail.com> *
* Copyright 2010 Aleix Pol Gonzalez <aleixpol@kde.org> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
......@@ -353,10 +354,8 @@ VcsJob* GitPlugin::remove(const KUrl::List& files)
return errorsFound(i18n("Could not remove the files"), OutputJob::Verbose);
}
VcsJob* GitPlugin::log(const KUrl& localLocation,
const KDevelop::VcsRevision& rev,
unsigned long limit)
const KDevelop::VcsRevision& rev, const KDevelop::VcsRevision& limit)
{
Q_UNUSED(rev)
Q_UNUSED(limit)
......@@ -374,6 +373,13 @@ VcsJob* GitPlugin::log(const KUrl& localLocation,
return errorsFound(i18n("Could not generate the log"), OutputJob::Verbose);
}
VcsJob* GitPlugin::log(const KUrl& localLocation,
const KDevelop::VcsRevision& rev, unsigned long int limit)
{
return log(localLocation, rev, rev);
}
KDevelop::VcsJob* GitPlugin::annotate(const KUrl &localLocation, const KDevelop::VcsRevision&)
{
DVcsJob* job = new DVcsJob(this);
......
......@@ -104,11 +104,9 @@ public:
virtual KDevelop::VcsJob* diff(const KUrl& fileOrDirectory, const KDevelop::VcsRevision& srcRevision, const KDevelop::VcsRevision& dstRevision,
KDevelop::VcsDiff::Type, RecursionMode recursion);
using KDevelop::DistributedVersionControlPlugin::log;
KDevelop::VcsJob* log(const KUrl& localLocation,
const KDevelop::VcsRevision& rev,
unsigned long limit);
virtual KDevelop::VcsJob* log( const KUrl& localLocation, const KDevelop::VcsRevision& rev, unsigned long limit);
virtual KDevelop::VcsJob* log(const KUrl& localLocation, const KDevelop::VcsRevision& rev, const KDevelop::VcsRevision& limit);
KDevelop::VcsJob* annotate(const KUrl &localLocation, const KDevelop::VcsRevision &rev);
KDevelop::VcsJob* revert(const KUrl::List& localLocations, RecursionMode recursion);
......
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