summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSVN.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-28 13:56:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-05-28 13:56:53 (GMT)
commit0c24c2311b3e98d21cc70bb2e62681c071fa03b4 (patch)
tree20c77d874cc8838c42a3141ec5541912a9c1b789 /Source/CTest/cmCTestSVN.cxx
parenta2312986af0356854d7cf9eac1d45f9d957abf72 (diff)
parentde2ef3053c37d0a958a92f8d763168d5b4e5dc17 (diff)
downloadCMake-0c24c2311b3e98d21cc70bb2e62681c071fa03b4.zip
CMake-0c24c2311b3e98d21cc70bb2e62681c071fa03b4.tar.gz
CMake-0c24c2311b3e98d21cc70bb2e62681c071fa03b4.tar.bz2
Merge topic 'ctest-xml-refactor'
de2ef305 cmCTest: Drop unused method overloads b04500a7 cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 8fbc509a cmCTestCoverageHandler: Port to cmXMLWriter 82455a9d cmCTestBuildHandler: Port to cmXMLWriter 1dbd86fd cmCTestLaunch: Port to cmXMLWriter a53bd63e cmCTest: Port GenerateNotesFile to cmXMLWriter 9c0bb7d8 cmCTestConfigureHandler: Port to cmXMLWriter 6cf5cc71 cmCTestUploadHandler: Port to cmXMLWriter ed42c203 cmCTestUpdateHandler: Port to cmXMLWriter 18825baf cmCTest: Port to cmXMLWriter f6413400 Add cmXMLWriter class to consolidate XML generation
Diffstat (limited to 'Source/CTest/cmCTestSVN.cxx')
-rw-r--r--Source/CTest/cmCTestSVN.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx
index 86dc2f2..f7bd1f9 100644
--- a/Source/CTest/cmCTestSVN.cxx
+++ b/Source/CTest/cmCTestSVN.cxx
@@ -14,7 +14,7 @@
#include "cmCTest.h"
#include "cmSystemTools.h"
#include "cmXMLParser.h"
-#include "cmXMLSafe.h"
+#include "cmXMLWriter.h"
#include <cmsys/RegularExpression.hxx>
@@ -535,11 +535,11 @@ void cmCTestSVN::LoadModifications()
}
//----------------------------------------------------------------------------
-void cmCTestSVN::WriteXMLGlobal(std::ostream& xml)
+void cmCTestSVN::WriteXMLGlobal(cmXMLWriter& xml)
{
this->cmCTestGlobalVC::WriteXMLGlobal(xml);
- xml << "\t<SVNPath>" << this->RootInfo->Base << "</SVNPath>\n";
+ xml.Element("SVNPath", this->RootInfo->Base);
}
//----------------------------------------------------------------------------