Version Control: Release the commit message temporary file.

... and add some logging to p4.
This commit is contained in:
Friedemann Kleint
2009-08-17 09:49:56 +02:00
parent 002cc5b517
commit d7c5e2ed24
4 changed files with 32 additions and 16 deletions

View File

@@ -692,7 +692,7 @@ void SubversionPlugin::startCommit(const QStringList &files)
// Create a submit
m_changeTmpFile->write(submitTemplate.toUtf8());
m_changeTmpFile->flush();
m_changeTmpFile->seek(0);
m_changeTmpFile->close();
// Create a submit editor and set file list
SubversionSubmitEditor *editor = openSubversionSubmitEditor(m_changeTmpFile->fileName());
editor->setStatusList(statusOutput);