forked from qt-creator/qt-creator
Subversion: Remove some dead code
Change-Id: I6f94ecdfb003eac9cc1eaf4460bb4d4a07e883f1 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user