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:
parent
13f519f747
commit
66953c78a9
|
@ -44,9 +44,10 @@ public:
|
||||||
this->RegexFileModified.compile("^([MRA]) *(.*)");
|
this->RegexFileModified.compile("^([MRA]) *(.*)");
|
||||||
this->RegexFileConflicting.compile("^([C]) *(.*)");
|
this->RegexFileConflicting.compile("^([C]) *(.*)");
|
||||||
this->RegexFileRemoved1.compile(
|
this->RegexFileRemoved1.compile(
|
||||||
"cvs update: `?([^']*)'? is no longer in the repository");
|
"cvs[^ ]* update: `?([^']*)'? is no longer in the repository");
|
||||||
this->RegexFileRemoved2.compile(
|
this->RegexFileRemoved2.compile(
|
||||||
"cvs update: warning: `?([^']*)'? is not \\(any longer\\) pertinent");
|
"cvs[^ ]* update: "
|
||||||
|
"warning: `?([^']*)'? is not \\(any longer\\) pertinent");
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
cmCTestCVS* CVS;
|
cmCTestCVS* CVS;
|
||||||
|
|
Loading…
Reference in New Issue