From d6f9fd9f4e82067c0f00437a59bb4b9a74d1c1fe Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 24 Apr 2005 12:32:56 -0400 Subject: BUG: Remember if there was update error --- Source/CTest/cmCTestUpdateHandler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 5bc1664..4b0d293 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -204,7 +204,7 @@ int cmCTestUpdateHandler::ProcessHandler() int count = 0; int updateType = e_CVS; std::string::size_type cc, kk; - //bool updateProducedError = false; + bool updateProducedError = false; // Get source dir @@ -393,7 +393,7 @@ int cmCTestUpdateHandler::ProcessHandler() } if ( !res || retVal ) { - //updateProducedError = true; + updateProducedError = true; } os << "\n" @@ -810,7 +810,7 @@ int cmCTestUpdateHandler::ProcessHandler() os << "Update error: There are modified or conflicting files in the repository"; std::cerr << " There are modified or conflicting files in the repository" << std::endl; } - if ( !res || retVal ) + if ( updateProducedError ) { os << "Update error: "; os << m_CTest->MakeXMLSafe(goutput); -- cgit v0.12