diff options
author | Brad King <brad.king@kitware.com> | 2009-02-24 17:52:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-24 17:52:36 (GMT) |
commit | de3dedb4ea68f96deda8f4f1c97ab4f134b89f82 (patch) | |
tree | 645508549bd1fa19dacdebb8e4bf64c2839974ed /Source/CTest/cmCTestVC.h | |
parent | d76bc78a1247d0ac5d151a510b8d6ba231daa043 (diff) | |
download | CMake-de3dedb4ea68f96deda8f4f1c97ab4f134b89f82.zip CMake-de3dedb4ea68f96deda8f4f1c97ab4f134b89f82.tar.gz CMake-de3dedb4ea68f96deda8f4f1c97ab4f134b89f82.tar.bz2 |
ENH: Factor out VCS work tree revision checks
This moves checks of the work tree revision before and after update from
cmCTestUpdateHandler::ProcessHandler into the cmCTestVC hierarchy.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r-- | Source/CTest/cmCTestVC.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h index e1228e0..4413193 100644 --- a/Source/CTest/cmCTestVC.h +++ b/Source/CTest/cmCTestVC.h @@ -45,9 +45,13 @@ public: /** Perform cleanup operations on the work tree. */ void Cleanup(); + void MarkOldRevision() { this->NoteOldRevision(); } + void MarkNewRevision() { this->NoteNewRevision(); } protected: // Internal API to be implemented by subclasses. virtual void CleanupImpl(); + virtual void NoteOldRevision(); + virtual void NoteNewRevision(); /** Convert a list of arguments to a human-readable command line. */ static std::string ComputeCommandLine(char const* const* cmd); |