diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-22 12:40:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-22 12:40:16 (GMT) |
commit | ca90e8002bb0310f8af1db6eb6d4ae9e796b09ec (patch) | |
tree | 8276a66e5fcc2ba8eb306c0cffa6e35e0eae50e0 /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | 9c8875a621aa020087020015a9fcbb720ca7c24f (diff) | |
download | CMake-ca90e8002bb0310f8af1db6eb6d4ae9e796b09ec.zip CMake-ca90e8002bb0310f8af1db6eb6d4ae9e796b09ec.tar.gz CMake-ca90e8002bb0310f8af1db6eb6d4ae9e796b09ec.tar.bz2 |
ENH: Better handling of removed files and remove warning
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 7f2f524..f95346e 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -585,11 +585,6 @@ int cmCTestUpdateHandler::ProcessHandler() std::string upChar = file_update_line.match(1); std::string upFile = file_update_line.match(2); char mod = upChar[0]; - bool removed = false; - if ( mod != 'D' ) - { - removed = true; - } bool modifiedOrConflict = false; if ( mod != 'M' && mod != 'C' && mod != 'G' ) { @@ -776,9 +771,9 @@ int cmCTestUpdateHandler::ProcessHandler() comment1 = "Locally modified file\n"; sauthor1 = "Local User"; } - if ( mod == 'R' ) + if ( mod == 'D' ) { - comment1 = "Removed file\n"; + comment1 += " - Removed file\n"; } if ( mod == 'C' ) { |