diff options
author | Brad King <brad.king@kitware.com> | 2009-02-24 17:50:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-24 17:50:15 (GMT) |
commit | fdd0d2a32bffc3742b5d40c066a61794135bd6f4 (patch) | |
tree | 6c2e02dfb74118bb869bee0daef1e049124bc836 /Source/CTest/cmCTestVC.h | |
parent | 4e4f2a3a10327978c8de493fe0f411e656b7d2f9 (diff) | |
download | CMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.zip CMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.tar.gz CMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.tar.bz2 |
ENH: Factor out svn work tree cleanup
This removes work tree cleanup from cmCTestUpdateHandler and adds an
interface for it in cmCTestVC with an implementation in cmCTestSVN.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r-- | Source/CTest/cmCTestVC.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h index 1bc4277..4564e70 100644 --- a/Source/CTest/cmCTestVC.h +++ b/Source/CTest/cmCTestVC.h @@ -39,7 +39,12 @@ public: /** Top-level source directory. */ void SetSourceDirectory(std::string const& dir); + /** Perform cleanup operations on the work tree. */ + void Cleanup(); + protected: + // Internal API to be implemented by subclasses. + virtual void CleanupImpl(); /** Convert a list of arguments to a human-readable command line. */ static std::string ComputeCommandLine(char const* const* cmd); |