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

SVN: Pass "--parent" to "add" to automatically add directories.

parent a3113da3
......@@ -960,9 +960,8 @@ SubversionPlugin *SubversionPlugin::subversionPluginInstance()
bool SubversionPlugin::vcsAdd(const QString &workingDir, const QString &rawFileName)
{
const QString file = QDir::toNativeSeparators(rawFileName);
QStringList args(QLatin1String("add"));
args.push_back(file);
QStringList args;
args << QLatin1String("add") << QLatin1String("--parents") << file;
const SubversionResponse response = runSvn(workingDir, args, m_settings.timeOutMS(), true);
return !response.error;
}
......
Supports Markdown
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