cmCTestSVN: Create the SVNInfo for the root repository

This commit is contained in:
Xavier Besseron 2012-08-24 10:48:57 +02:00 committed by Brad King
parent 8d1e10296a
commit fb6d513692
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ std::string cmCTestSVN::LoadInfo()
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void cmCTestSVN::NoteOldRevision() void cmCTestSVN::NoteOldRevision()
{ {
// Info for root repository
this->Repositories.push_back( SVNInfo("") );
this->RootInfo = &(this->Repositories.back());
this->OldRevision = this->LoadInfo(); this->OldRevision = this->LoadInfo();
this->Log << "Revision before update: " << this->OldRevision << "\n"; this->Log << "Revision before update: " << this->OldRevision << "\n";
cmCTestLog(this->CTest, HANDLER_OUTPUT, " Old revision of repository is: " cmCTestLog(this->CTest, HANDLER_OUTPUT, " Old revision of repository is: "