Commit a34111e1 authored by jkobus's avatar jkobus Committed by Tobias Hunger
Browse files

Fix the condition to work with v 2.0 too



Change-Id: I93e929627bd057f5eaec26b3cf8b7c2c55c54363
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 9c2a7c7c
......@@ -572,7 +572,8 @@ void SubversionPlugin::svnDiff(const Subversion::Internal::SubversionDiffParamet
QStringList args(QLatin1String("diff"));
Version v = svnVersion();
if (v.majorVersion >= 1 && v.minorVersion >= 7) // --internal-diff is new in v1.7.0
if (v.majorVersion > 1
|| (v.majorVersion == 1 && v.minorVersion >= 7)) // --internal-diff is new in v1.7.0
args.append(QLatin1String("--internal-diff"));
args.append(p.arguments);
args << p.files;
......
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