diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-24 16:32:56 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-24 16:32:56 (GMT) |
commit | d6f9fd9f4e82067c0f00437a59bb4b9a74d1c1fe (patch) | |
tree | a346a9110e3b2a6079070e7f138b641ceff37724 | |
parent | e6f2d880a664fca17c0cde913c301c693d530946 (diff) | |
download | CMake-d6f9fd9f4e82067c0f00437a59bb4b9a74d1c1fe.zip CMake-d6f9fd9f4e82067c0f00437a59bb4b9a74d1c1fe.tar.gz CMake-d6f9fd9f4e82067c0f00437a59bb4b9a74d1c1fe.tar.bz2 |
BUG: Remember if there was update error
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 6 |
1 files 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 << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\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); |