Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
935cf114
Commit
935cf114
authored
Apr 03, 2009
by
Friedemann Kleint
Browse files
Make svn plugin work with svn 1.6.
Handle modified 'status' formatting (starting at column 8).
parent
62d5b16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/subversion/subversionplugin.cpp
View file @
935cf114
...
...
@@ -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
()
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment