summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorXavier Besseron <xavier.besseron@uni.lu>2012-08-24 08:48:57 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-04 12:35:35 (GMT)
commitfb6d5136926fc142fa893f853b62c5ca8df04d6c (patch)
treeae48d394f3f6b1400fc6c0156149a4b355bb67bd /Source/CTest
parent8d1e10296ae852afd80c789efa73492f87543034 (diff)
downloadCMake-fb6d5136926fc142fa893f853b62c5ca8df04d6c.zip
CMake-fb6d5136926fc142fa893f853b62c5ca8df04d6c.tar.gz
CMake-fb6d5136926fc142fa893f853b62c5ca8df04d6c.tar.bz2
cmCTestSVN: Create the SVNInfo for the root repository
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestSVN.cxx3
1 files changed, 3 insertions, 0 deletions
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: "