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.
This commit is contained in:
Brad King 2009-06-23 09:06:13 -04:00
parent 13f519f747
commit 66953c78a9
1 changed files with 3 additions and 2 deletions

View File

@ -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;