BUG: Remove warning when using CVS

This commit is contained in:
Andy Cedilnik 2005-07-11 11:16:14 -04:00
parent e09f2a6404
commit 6ca7664b90

View File

@ -546,14 +546,14 @@ int cmCTestUpdateHandler::ProcessHandler()
svn_latest_revision = atoi(svn_latest_revision_regex.match(2).c_str()); svn_latest_revision = atoi(svn_latest_revision_regex.match(2).c_str());
} }
} }
} if ( svn_latest_revision <= 0 )
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);
cmCTestLog(m_CTest, ERROR_MESSAGE, "Problem determining the current revision of the repository from output:" << std::endl << goutput.c_str() << std::endl); }
} else
else if ( updateType == cmCTestUpdateHandler::e_SVN ) {
{ cmCTestLog(m_CTest, HANDLER_OUTPUT, " Current revision of repository is: " << svn_latest_revision << std::endl);
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); cmCTestLog(m_CTest, HANDLER_OUTPUT, " Gathering version information (each . represents one updated file):" << std::endl);