Commit 58523050 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Subversion: Fixed "add" with authentication for svn pre 1.5

The older versions do not accept --username option, omit it.

Task-number: 255470
parent c297a4ac
......@@ -96,6 +96,10 @@ QStringList SubversionSettings::addOptions(const QStringList &args) const
if (!useAuthentication || user.isEmpty())
return args;
// SVN pre 1.5 does not accept "--userName" for "add", which is most likely
// an oversight. As no password is needed for the option, generally omit it.
if (!args.empty() && args.front() == QLatin1String("add"))
return args;
QStringList rc;
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