summaryrefslogtreecommitdiff
path: root/src/plugins/subversion
diff options
context:
space:
mode:
authorjkobus <jaroslaw.kobus@digia.com>2013-09-26 12:59:43 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-09-26 13:22:50 +0200
commita34111e1f0dfac6fb76ade7911f3859d1096c21f (patch)
tree80c413b9b157087fd9eee576dd7a6be1de26111c /src/plugins/subversion
parent9c2a7c7c768f09466a429bde7ca0c1c994e02537 (diff)
downloadqt-creator-a34111e1f0dfac6fb76ade7911f3859d1096c21f.tar.gz
Fix the condition to work with v 2.0 too
Change-Id: I93e929627bd057f5eaec26b3cf8b7c2c55c54363 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/subversion')
-rw-r--r--src/plugins/subversion/subversionplugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp
index 44b680a6e4..7e3d7fd161 100644
--- a/src/plugins/subversion/subversionplugin.cpp
+++ b/src/plugins/subversion/subversionplugin.cpp
@@ -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;