summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSVN.cxx
diff options
context:
space:
mode:
authorXavier Besseron <xavier.besseron@uni.lu>2012-08-24 08:30:09 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-04 12:35:35 (GMT)
commit2f204bc176e418e810de7034903974e7edb46b14 (patch)
tree1dffc6e69bef5e5c46d853e6e55faeb380c883e0 /Source/CTest/cmCTestSVN.cxx
parentaa1076f4600a94494da355d641aa0a5773a67863 (diff)
downloadCMake-2f204bc176e418e810de7034903974e7edb46b14.zip
CMake-2f204bc176e418e810de7034903974e7edb46b14.tar.gz
CMake-2f204bc176e418e810de7034903974e7edb46b14.tar.bz2
cmCTestSVN: Extend Revision struct with SVN repo information
Also rename DoRevision to DoRevisionSVN since the signature changes.
Diffstat (limited to 'Source/CTest/cmCTestSVN.cxx')
-rw-r--r--Source/CTest/cmCTestSVN.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx
index 7ca87e2..15d9487 100644
--- a/Source/CTest/cmCTestSVN.cxx
+++ b/Source/CTest/cmCTestSVN.cxx
@@ -18,6 +18,11 @@
#include <cmsys/RegularExpression.hxx>
+struct cmCTestSVN::Revision: public cmCTestVC::Revision
+{
+ cmCTestSVN::SVNInfo* SVNInfo;
+};
+
//----------------------------------------------------------------------------
cmCTestSVN::cmCTestSVN(cmCTest* ct, std::ostream& log):
cmCTestGlobalVC(ct, log)
@@ -325,7 +330,7 @@ private:
{
if(strcmp(name, "logentry") == 0)
{
- this->SVN->DoRevision(this->Rev, this->Changes);
+ this->SVN->DoRevisionSVN(this->Rev, this->Changes);
}
else if(strcmp(name, "path") == 0 && !this->CData.empty())
{
@@ -378,8 +383,8 @@ void cmCTestSVN::LoadRevisions()
}
//----------------------------------------------------------------------------
-void cmCTestSVN::DoRevision(Revision const& revision,
- std::vector<Change> const& changes)
+void cmCTestSVN::DoRevisionSVN(Revision const& revision,
+ std::vector<Change> const& changes)
{
// Guess the base checkout path from the changes if necessary.
if(this->Base.empty() && !changes.empty())