┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/revisioncontrolplugin.cpp')
-rw-r--r--src/revisioncontrolplugin.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/revisioncontrolplugin.cpp b/src/revisioncontrolplugin.cpp
index 79e35e386..905b91380 100644
--- a/src/revisioncontrolplugin.cpp
+++ b/src/revisioncontrolplugin.cpp
@@ -338,14 +338,13 @@ void SubversionPlugin::startSvnCommandProcess()
connect(process, SIGNAL(error(QProcess::ProcessError)),
this, SLOT(slotOperationError()));
- QStringList arguments;
- arguments << m_command;
+ const QString program = "svn " + m_command + ' ';
if (!m_contextDir.isEmpty()) {
- process->start("svn", arguments << KShell::quoteArg(m_contextDir));
+ process->start(program + KShell::quoteArg(m_contextDir));
m_contextDir.clear();
} else {
const KFileItem item = m_contextItems.takeLast();
- process->start("svn", arguments << KShell::quoteArg(item.localPath()));
+ process->start(program + KShell::quoteArg(item.localPath()));
// the remaining items of m_contextItems will be executed
// after the process has finished (see slotOperationFinished())
}