diff options
author | Brad King <brad.king@kitware.com> | 2009-08-12 12:06:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-12 12:06:57 (GMT) |
commit | dd2cf7388bc3ee1bd2b424fd944fc82e4c16dae5 (patch) | |
tree | 91045151d2d2a7f861637f25d7d72ee6b0c05354 /Source/CTest | |
parent | 29f50a1f7d960264c2b87a9348d8526999f61c29 (diff) | |
download | CMake-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.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestSVN.cxx | 4 |
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; } } |