Commit aca3892b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Subversion: Force deletion of files



vcsDelete(...) is used after a file is already deleted from the
filesystem (and after asking the user), so it is safe to --force
the removal in svn.

Task-number: QTCREATORBUG-13271
Change-Id: Id3c076987f6518efb186a04d31855b189cfd52ab
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent d2eb0426
......@@ -1089,8 +1089,8 @@ bool SubversionPlugin::vcsDelete(const QString &workingDir, const QString &rawFi
{
const QString file = QDir::toNativeSeparators(rawFileName);
QStringList args(QLatin1String("delete"));
args.push_back(file);
QStringList args;
args << QLatin1String("delete") << QLatin1String("--force") << file;
const SubversionResponse response =
runSvn(workingDir, args, m_settings.timeOutMs(),
......
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