Commit 66953c78 authored by Brad King's avatar Brad King
Browse files

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.
parent 13f519f7
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment