[Cmake-commits] [cmake-commits] king committed cmCTestSVN.cxx 1.9 1.10 cmCTestSVN.h 1.7 1.8

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Dec 18 08:19:44 EST 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv21070/Source/CTest

Modified Files:
	cmCTestSVN.cxx cmCTestSVN.h 
Log Message:
Submit Subversion directory path in Update.xml

A Subversion revision is unique across the entire repository, but work
trees typically correspond only to a subdirectory below the root path.
In order to specify the version of the source code that was tested,
CTest now submits a <SVNPath> element in Update.xml that specifies the
directory of the repository that corresponds to the work tree.  In
combination with the revision number this uniquely specifies the tested
source.  See issue #7541.


Index: cmCTestSVN.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** cmCTestSVN.h	28 Sep 2009 15:43:02 -0000	1.7
--- cmCTestSVN.h	18 Dec 2009 13:19:41 -0000	1.8
***************
*** 53,56 ****
--- 53,58 ----
                    std::vector<Change> const& changes);
  
+   void WriteXMLGlobal(std::ostream& xml);
+ 
    // Parsing helper classes.
    class InfoParser;

Index: cmCTestSVN.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -C 2 -d -r1.9 -r1.10
*** cmCTestSVN.cxx	28 Sep 2009 15:43:02 -0000	1.9
--- cmCTestSVN.cxx	18 Dec 2009 13:19:41 -0000	1.10
***************
*** 441,442 ****
--- 441,450 ----
    this->RunChild(svn_status, &out, &err);
  }
+ 
+ //----------------------------------------------------------------------------
+ void cmCTestSVN::WriteXMLGlobal(std::ostream& xml)
+ {
+   this->cmCTestGlobalVC::WriteXMLGlobal(xml);
+ 
+   xml << "\t<SVNPath>" << this->Base << "</SVNPath>\n";
+ }



More information about the Cmake-commits mailing list