diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-11 15:16:14 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-11 15:16:14 (GMT) |
commit | 6ca7664b90af3d5e3baf35899aafd8b735dbd18e (patch) | |
tree | 5148c347ed27efd41ae39699b679942ff874aced /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | e09f2a6404070aa5b21e8c5a850bb8e1f3c35bc5 (diff) | |
download | CMake-6ca7664b90af3d5e3baf35899aafd8b735dbd18e.zip CMake-6ca7664b90af3d5e3baf35899aafd8b735dbd18e.tar.gz CMake-6ca7664b90af3d5e3baf35899aafd8b735dbd18e.tar.bz2 |
BUG: Remove warning when using CVS
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index a7a5f1a..9f83b93 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -546,14 +546,14 @@ int cmCTestUpdateHandler::ProcessHandler() svn_latest_revision = atoi(svn_latest_revision_regex.match(2).c_str()); } } - } - if ( svn_latest_revision <= 0 ) - { - cmCTestLog(m_CTest, ERROR_MESSAGE, "Problem determining the current revision of the repository from output:" << std::endl << goutput.c_str() << std::endl); - } - else if ( updateType == cmCTestUpdateHandler::e_SVN ) - { - cmCTestLog(m_CTest, HANDLER_OUTPUT, " Current revision of repository is: " << svn_latest_revision << std::endl); + if ( svn_latest_revision <= 0 ) + { + cmCTestLog(m_CTest, ERROR_MESSAGE, "Problem determining the current revision of the repository from output:" << std::endl << goutput.c_str() << std::endl); + } + else + { + cmCTestLog(m_CTest, HANDLER_OUTPUT, " Current revision of repository is: " << svn_latest_revision << std::endl); + } } cmCTestLog(m_CTest, HANDLER_OUTPUT, " Gathering version information (each . represents one updated file):" << std::endl); |