diff options
author | Xavier Besseron <xavier.besseron@uni.lu> | 2012-08-24 10:48:57 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-04 08:35:35 -0400 |
commit | fb6d5136926fc142fa893f853b62c5ca8df04d6c (patch) | |
tree | ae48d394f3f6b1400fc6c0156149a4b355bb67bd /Source/CTest | |
parent | 8d1e10296ae852afd80c789efa73492f87543034 (diff) | |
download | cmake-fb6d5136926fc142fa893f853b62c5ca8df04d6c.tar.gz |
cmCTestSVN: Create the SVNInfo for the root repository
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestSVN.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 15d9487bea..53dd20e3d7 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: " |