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.
This commit is contained in:
parent
a73833d037
commit
3e724b2725
|
@ -440,3 +440,11 @@ void cmCTestSVN::LoadModifications()
|
|||
OutputLogger err(this->Log, "status-err> ");
|
||||
this->RunChild(svn_status, &out, &err);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmCTestSVN::WriteXMLGlobal(std::ostream& xml)
|
||||
{
|
||||
this->cmCTestGlobalVC::WriteXMLGlobal(xml);
|
||||
|
||||
xml << "\t<SVNPath>" << this->Base << "</SVNPath>\n";
|
||||
}
|
||||
|
|
|
@ -52,6 +52,8 @@ private:
|
|||
void DoRevision(Revision const& revision,
|
||||
std::vector<Change> const& changes);
|
||||
|
||||
void WriteXMLGlobal(std::ostream& xml);
|
||||
|
||||
// Parsing helper classes.
|
||||
class InfoParser;
|
||||
class LogParser;
|
||||
|
|
Loading…
Reference in New Issue