summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-12 12:06:57 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-12 12:06:57 (GMT)
commitdd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5 (patch)
tree91045151d2d2a7f861637f25d7d72ee6b0c05354
parent29f50a1f7d960264c2b87a9348d8526999f61c29 (diff)
downloadCMake-dd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5.zip
CMake-dd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5.tar.gz
CMake-dd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5.tar.bz2
Fix classification of externals in svn status
CTest runs 'svn status' to identify modified and conflicting files in the working directory. This commit fixes the interpretation of the 'X' status, which corresponds to svn eXternals. This status should be ignored rather than treated as a local modification.
-rw-r--r--Source/CTest/cmCTestSVN.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx
index cddcacf..d1b759d 100644
--- a/Source/CTest/cmCTestSVN.cxx
+++ b/Source/CTest/cmCTestSVN.cxx
@@ -423,13 +423,13 @@ private:
// See "svn help status".
switch(status)
{
- case 'M': case '!': case 'A': case 'D': case 'R': case 'X':
+ case 'M': case '!': case 'A': case 'D': case 'R':
this->SVN->DoModification(PathModified, path);
break;
case 'C': case '~':
this->SVN->DoModification(PathConflicting, path);
break;
- case 'I': case '?': case ' ': default:
+ case 'X': case 'I': case '?': case ' ': default:
break;
}
}