More XML
This commit is contained in:
parent
063d6b5ecb
commit
56f55250a2
|
@ -691,13 +691,14 @@ int cmCTest::UpdateDirectory()
|
||||||
<< "\t\t<CheckinDate>" << sdate1 << "</CheckinDate>\n"
|
<< "\t\t<CheckinDate>" << sdate1 << "</CheckinDate>\n"
|
||||||
<< "\t\t<Author>" << sauthor1 << "</Author>\n"
|
<< "\t\t<Author>" << sauthor1 << "</Author>\n"
|
||||||
<< "\t\t<Email>" << semail1 << "</Email>\n"
|
<< "\t\t<Email>" << semail1 << "</Email>\n"
|
||||||
<< "\t\t<Log>" << comment1 << "</Log>\n"
|
<< "\t\t<Log>" << this->MakeXMLSafe(comment1) << "</Log>\n"
|
||||||
<< "\t\t<Revision>" << srevision1 << "</Revision>\n"
|
<< "\t\t<Revision>" << srevision1 << "</Revision>\n"
|
||||||
<< "\t\t<PriorRevision>" << srevision2 << "</PriorRevision>\n"
|
<< "\t\t<PriorRevision>" << srevision2 << "</PriorRevision>"
|
||||||
<< "\t\t<Revisions>" << std::endl;
|
<< std::endl;
|
||||||
if ( srevision2 != srevision1 )
|
if ( srevision2 != srevision1 )
|
||||||
{
|
{
|
||||||
os
|
os
|
||||||
|
<< "\t\t<Revisions>\n"
|
||||||
<< "\t\t\t<Revision>" << srevision1 << "</Revision>\n"
|
<< "\t\t\t<Revision>" << srevision1 << "</Revision>\n"
|
||||||
<< "\t\t\t<PreviousRevision>" << srevision2 << "</PreviousRevision>\n"
|
<< "\t\t\t<PreviousRevision>" << srevision2 << "</PreviousRevision>\n"
|
||||||
<< "\t\t\t<Author>" << sauthor1<< "</Author>\n"
|
<< "\t\t\t<Author>" << sauthor1<< "</Author>\n"
|
||||||
|
@ -845,7 +846,7 @@ int cmCTest::ConfigureDirectory()
|
||||||
}
|
}
|
||||||
os << "<ConfigureCommand>" << cCommand.c_str() << "</ConfigureCommand>" << std::endl;
|
os << "<ConfigureCommand>" << cCommand.c_str() << "</ConfigureCommand>" << std::endl;
|
||||||
//std::cout << "End" << std::endl;
|
//std::cout << "End" << std::endl;
|
||||||
os << "<Log>" << output << "</Log>" << std::endl;
|
os << "<Log>" << this->MakeXMLSafe(output) << "</Log>" << std::endl;
|
||||||
std::string end_time = ::CurrentTime();
|
std::string end_time = ::CurrentTime();
|
||||||
os << "\t<ConfigureStatus>" << retVal << "</ConfigureStatus>\n"
|
os << "\t<ConfigureStatus>" << retVal << "</ConfigureStatus>\n"
|
||||||
<< "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
<< "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
||||||
|
|
Loading…
Reference in New Issue