diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-11 15:59:51 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-11 15:59:51 (GMT) |
commit | 3e9936848544e861fda0a70d41262b9824580c6e (patch) | |
tree | 33be6d266d33b10965e91c86cfc74578147a1684 /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | 6ca7664b90af3d5e3baf35899aafd8b735dbd18e (diff) | |
download | CMake-3e9936848544e861fda0a70d41262b9824580c6e.zip CMake-3e9936848544e861fda0a70d41262b9824580c6e.tar.gz CMake-3e9936848544e861fda0a70d41262b9824580c6e.tar.bz2 |
ENH: Add default update options
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 9f83b93..6983d21 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -333,6 +333,10 @@ int cmCTestUpdateHandler::ProcessHandler() { case cmCTestUpdateHandler::e_CVS: updateOptions = m_CTest->GetCTestConfiguration("CVSUpdateOptions"); + if ( updateOptions.empty() ) + { + updateOptions = "-dP"; + } break; case cmCTestUpdateHandler::e_SVN: updateOptions = m_CTest->GetCTestConfiguration("SVNUpdateOptions"); |