[Cmake-commits] [cmake-commits] king committed cmCTestUpdateHandler.cxx 1.52 1.53
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 16 10:01:45 EST 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv22344/Source/CTest
Modified Files:
cmCTestUpdateHandler.cxx
Log Message:
BUG: Fix svn update logic for modified files
The main svn update parsing loop in cmCTestUpdateHandler previously had
a logic error because the variable 'res' was not reset for each
iteration. For a locally modified file it would report the update info
for the previous non-modified file, or nothing if there was no previous
file. This fixes the logic by setting variable 'res' in both control
paths for each iteration. See issue #8168.
Index: cmCTestUpdateHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestUpdateHandler.cxx,v
retrieving revision 1.52
retrieving revision 1.53
diff -C 2 -d -r1.52 -r1.53
*** cmCTestUpdateHandler.cxx 16 Feb 2009 15:00:58 -0000 1.52
--- cmCTestUpdateHandler.cxx 16 Feb 2009 15:01:43 -0000 1.53
***************
*** 808,811 ****
--- 808,815 ----
}
}
+ else
+ {
+ res = false;
+ }
if ( res )
{
More information about the Cmake-commits
mailing list