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

@@ -687,7 +687,7 @@ void CVSPlugin::startCommit(const QString &source)
// 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
CVSSubmitEditor *editor = openCVSSubmitEditor(m_changeTmpFile->fileName());
editor->setStateList(statusOutput);