cmCTestSVN: Extend Revision struct with SVN repo information
Also rename DoRevision to DoRevisionSVN since the signature changes.
This commit is contained in:
parent
aa1076f460
commit
2f204bc176
|
@ -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,7 +383,7 @@ void cmCTestSVN::LoadRevisions()
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmCTestSVN::DoRevision(Revision const& revision,
|
||||
void cmCTestSVN::DoRevisionSVN(Revision const& revision,
|
||||
std::vector<Change> const& changes)
|
||||
{
|
||||
// Guess the base checkout path from the changes if necessary.
|
||||
|
|
|
@ -67,6 +67,9 @@ private:
|
|||
|
||||
};
|
||||
|
||||
// Extended revision structure to include info about external it refers to.
|
||||
struct Revision;
|
||||
|
||||
std::string LoadInfo();
|
||||
void LoadModifications();
|
||||
void LoadRevisions();
|
||||
|
@ -74,7 +77,7 @@ private:
|
|||
void GuessBase(std::vector<Change> const& changes);
|
||||
const char* LocalPath(std::string const& path);
|
||||
|
||||
void DoRevision(Revision const& revision,
|
||||
void DoRevisionSVN(Revision const& revision,
|
||||
std::vector<Change> const& changes);
|
||||
|
||||
void WriteXMLGlobal(std::ostream& xml);
|
||||
|
|
Loading…
Reference in New Issue