BUG: If project is up to date, handle that case

This commit is contained in:
Andy Cedilnik 2005-02-16 13:45:08 -05:00
parent 26f3b14919
commit 8ec1ab2ab0
1 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ int cmCTestUpdateHandler::ProcessHandler()
// Subversion style regular expressions
cmsys::RegularExpression svn_status_line_regex("^ *([0-9]+) *([0-9]+) *([^ ]+) *([^ ][^\t\r\n]*)[ \t\r\n]*$");
cmsys::RegularExpression svn_latest_revision_regex("Updated to revision ([0-9]+).");
cmsys::RegularExpression svn_latest_revision_regex("(Updated to|At) revision ([0-9]+)\\.");
cmsys::RegularExpression file_update_line("([A-Z]) *(.*)");
std::string current_path = "<no-path>";
@ -443,7 +443,7 @@ int cmCTestUpdateHandler::ProcessHandler()
const char* line = lines[cc].c_str();
if ( svn_latest_revision_regex.find(line) )
{
svn_latest_revision = atoi(svn_latest_revision_regex.match(1).c_str());
svn_latest_revision = atoi(svn_latest_revision_regex.match(2).c_str());
}
}
}