Commit 935cf114 authored by Friedemann Kleint's avatar Friedemann Kleint

Make svn plugin work with svn 1.6.

Handle modified 'status' formatting (starting at column 8).
parent 62d5b16a
......@@ -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()));
}
}
......
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