Subversion: Remove some dead code

Change-Id: I6f94ecdfb003eac9cc1eaf4460bb4d4a07e883f1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2014-11-05 11:58:42 +01:00
parent 85ead5f0da
commit 403f55a517
2 changed files with 0 additions and 18 deletions

View File

@@ -711,23 +711,6 @@ void SubversionPlugin::startCommit(const QString &workingDir, const QStringList
editor->setStatusList(statusOutput);
}
bool SubversionPlugin::commit(const QString &messageFile,
const QStringList &subVersionFileList)
{
if (Subversion::Constants::debug)
qDebug() << Q_FUNC_INFO << messageFile << subVersionFileList;
// Transform the status list which is sth
// "[ADM]<blanks>file" into an args list. The files of the status log
// can be relative or absolute depending on where the command was run.
QStringList args = QStringList(QLatin1String("commit"));
args << QLatin1String(Constants::NON_INTERACTIVE_OPTION) << QLatin1String("--file") << messageFile;
args.append(subVersionFileList);
const SubversionResponse response =
runSvn(m_commitRepository, args, 10 * m_settings.timeOutMs(),
SshPasswordPrompt|ShowStdOutInLogWindow);
return !response.error ;
}
void SubversionPlugin::filelogCurrentFile()
{
const VcsBasePluginState state = currentState();

View File

@@ -154,7 +154,6 @@ private:
void svnUpdate(const QString &workingDir, const QString &relativePath = QString());
bool checkSVNSubDir(const QDir &directory, const QString &fileName = QString()) const;
void startCommit(const QString &workingDir, const QStringList &files = QStringList());
bool commit(const QString &messageFile, const QStringList &subVersionFileList);
inline SubversionControl *subVersionControl() const;
const QStringList m_svnDirectories;