Browse Source

cmCTestSVN: Create the SVNInfo for the root repository

Xavier Besseron 13 years ago
parent
commit
fb6d513692
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/CTest/cmCTestSVN.cxx

+ 3 - 0
Source/CTest/cmCTestSVN.cxx

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