diff options
author | Brad King <brad.king@kitware.com> | 2017-02-15 18:58:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-16 18:19:26 (GMT) |
commit | ef399f9bc6b8e2ff917a5f2809346fb81fd954ae (patch) | |
tree | 329a270ad32f04ebba493ea9abe5486fd74898a1 /Source/CTest/cmCTestSVN.h | |
parent | bb4730dc5add8c5ac54b41efa5375189636429f3 (diff) | |
download | CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.zip CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.tar.gz CMake-ef399f9bc6b8e2ff917a5f2809346fb81fd954ae.tar.bz2 |
ctest_update: Refactor internal APIs to support more failure cases
Thread failure of VC tool commands through more APIs so that we can
detect when they fail. Defer updating of the individual VC tool usage
the future and just return true from them for now.
Diffstat (limited to 'Source/CTest/cmCTestSVN.h')
-rw-r--r-- | Source/CTest/cmCTestSVN.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestSVN.h b/Source/CTest/cmCTestSVN.h index c0348c2..1832fd9 100644 --- a/Source/CTest/cmCTestSVN.h +++ b/Source/CTest/cmCTestSVN.h @@ -30,8 +30,8 @@ public: private: // Implement cmCTestVC internal API. void CleanupImpl() CM_OVERRIDE; - void NoteOldRevision() CM_OVERRIDE; - void NoteNewRevision() CM_OVERRIDE; + bool NoteOldRevision() CM_OVERRIDE; + bool NoteNewRevision() CM_OVERRIDE; bool UpdateImpl() CM_OVERRIDE; bool RunSVNCommand(std::vector<char const*> const& parameters, @@ -78,8 +78,8 @@ private: std::string LoadInfo(SVNInfo& svninfo); void LoadRepositories(); - void LoadModifications() CM_OVERRIDE; - void LoadRevisions() CM_OVERRIDE; + bool LoadModifications() CM_OVERRIDE; + bool LoadRevisions() CM_OVERRIDE; void LoadRevisions(SVNInfo& svninfo); void GuessBase(SVNInfo& svninfo, std::vector<Change> const& changes); |