summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestVC.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-26 14:22:32 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-26 14:22:32 (GMT)
commit3829be4ca66e79310ef19750e877634169c64431 (patch)
tree18aa87c67be3653ad6f33327676423cda0c7955c /Source/CTest/cmCTestVC.h
parent7960f7541ce3d8d03ce68b0e5a37e67019bbe557 (diff)
downloadCMake-3829be4ca66e79310ef19750e877634169c64431.zip
CMake-3829be4ca66e79310ef19750e877634169c64431.tar.gz
CMake-3829be4ca66e79310ef19750e877634169c64431.tar.bz2
ENH: Refactor initial checkout into cmCTestVC
This adds cmCTestVC::InitialCheckout and uses it in cmCTestUpdateHandler to run the initial checkout command. The new implementation logs the command in the update log consistently with the rest of the new update implementation.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r--Source/CTest/cmCTestVC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h
index 43ae5b9..8f8adf4 100644
--- a/Source/CTest/cmCTestVC.h
+++ b/Source/CTest/cmCTestVC.h
@@ -42,6 +42,9 @@ public:
/** Get the date/time specification for the current nightly start time. */
std::string GetNightlyTime();
+ /** Prepare the work tree. */
+ bool InitialCheckout(const char* command);
+
/** Perform cleanup operations on the work tree. */
void Cleanup();