From dd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 12 Aug 2009 08:06:57 -0400 Subject: [PATCH] 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. --- Source/CTest/cmCTestSVN.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index cddcacf90..d1b759de5 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; } }