From 935cf11470152e12435d06e14ed4ae22e2c243c4 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Fri, 3 Apr 2009 12:17:33 +0200 Subject: [PATCH] Make svn plugin work with svn 1.6. Handle modified 'status' formatting (starting at column 8). --- src/plugins/subversion/subversionplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp index 11ad9c2531e..a66ff436932 100644 --- a/src/plugins/subversion/subversionplugin.cpp +++ b/src/plugins/subversion/subversionplugin.cpp @@ -152,8 +152,8 @@ StatusList parseStatusOutput(const QString &output) if (line.size() > 8) { const QChar state = line.at(0); if (state == QLatin1Char('A') || state == QLatin1Char('D') || state == QLatin1Char('M')) { - const QString fileName = line.mid(7); - changeSet.push_back(SubversionSubmitEditor::StatusFilePair(QString(state), fileName)); + const QString fileName = line.mid(7); // Column 8 starting from svn 1.6 + changeSet.push_back(SubversionSubmitEditor::StatusFilePair(QString(state), fileName.trimmed())); } } -- GitLab