From fb6d5136926fc142fa893f853b62c5ca8df04d6c Mon Sep 17 00:00:00 2001 From: Xavier Besseron Date: Fri, 24 Aug 2012 10:48:57 +0200 Subject: cmCTestSVN: Create the SVNInfo for the root repository --- Source/CTest/cmCTestSVN.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 15d9487..53dd20e 100644 --- a/Source/CTest/cmCTestSVN.cxx +++ b/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: " -- cgit v0.12