summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-23 09:06:13 -0400
committerBrad King <brad.king@kitware.com>2009-06-23 09:06:13 -0400
commit66953c78a9457e9e73db5a35816333223e6414ae (patch)
treedceba8d80b74c34ec4871515867fe57495b1a7aa /Source
parent13f519f74744dd8ffad3a19f199ad08f7a751ba6 (diff)
downloadcmake-66953c78a9457e9e73db5a35816333223e6414ae.tar.gz
BUG: Fix CVS update parsing for TortoiseCVS
The TortoiseCVS version of cvs.exe includes the '.exe' in cvs update messages for files removed from the repository. This change accounts for it in the regular expressions that match such lines. Now removed files are properly reported by ctest_update() when using TortoiseCVS.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestCVS.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCVS.cxx b/Source/CTest/cmCTestCVS.cxx
index cbd201e89c..18ec0ec3c0 100644
--- a/Source/CTest/cmCTestCVS.cxx
+++ b/Source/CTest/cmCTestCVS.cxx
@@ -44,9 +44,10 @@ public:
this->RegexFileModified.compile("^([MRA]) *(.*)");
this->RegexFileConflicting.compile("^([C]) *(.*)");
this->RegexFileRemoved1.compile(
- "cvs update: `?([^']*)'? is no longer in the repository");
+ "cvs[^ ]* update: `?([^']*)'? is no longer in the repository");
this->RegexFileRemoved2.compile(
- "cvs update: warning: `?([^']*)'? is not \\(any longer\\) pertinent");
+ "cvs[^ ]* update: "
+ "warning: `?([^']*)'? is not \\(any longer\\) pertinent");
}
private:
cmCTestCVS* CVS;