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.cxx | |
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.cxx')
-rw-r--r-- | Source/CTest/cmCTestVC.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.cxx b/Source/CTest/cmCTestVC.cxx index 9d9a191..d03b23b 100644 --- a/Source/CTest/cmCTestVC.cxx +++ b/Source/CTest/cmCTestVC.cxx @@ -70,3 +70,17 @@ std::string cmCTestVC::ComputeCommandLine(char const* const* cmd) } return line.str(); } + +//---------------------------------------------------------------------------- +void cmCTestVC::Cleanup() +{ + this->Log << "--- Begin Cleanup ---\n"; + this->CleanupImpl(); + this->Log << "--- End Cleanup ---\n"; +} + +//---------------------------------------------------------------------------- +void cmCTestVC::CleanupImpl() +{ + // We do no cleanup by default. +} |