summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-11 15:16:14 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-11 15:16:14 (GMT)
commit6ca7664b90af3d5e3baf35899aafd8b735dbd18e (patch)
tree5148c347ed27efd41ae39699b679942ff874aced /Source/CTest/cmCTestUpdateHandler.cxx
parente09f2a6404070aa5b21e8c5a850bb8e1f3c35bc5 (diff)
downloadCMake-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.cxx16
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);