|
|
@ -196,7 +196,7 @@ VCSFileInfoMap *CVSFileInfoProvider::parse( TQStringList stringStream )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQRegExp rx_recordStart( "^=+$" );
|
|
|
|
TQRegExp rx_recordStart( "^=+$" );
|
|
|
|
TQRegExp rx_fileName( "^File: (\\.|\\-|\\w)+" );
|
|
|
|
TQRegExp rx_fileName( "^File: (\\.|\\-|\\w)+" );
|
|
|
|
TQRegExp rx_filetqStatus( "tqStatus: (\\.|-|\\s|\\w)+" );
|
|
|
|
TQRegExp rx_filetqStatus( "Status: (\\.|-|\\s|\\w)+" );
|
|
|
|
TQRegExp rx_fileWorkRev( "\\bWorking revision:" );
|
|
|
|
TQRegExp rx_fileWorkRev( "\\bWorking revision:" );
|
|
|
|
TQRegExp rx_fileRepoRev( "\\bRepository revision:" );
|
|
|
|
TQRegExp rx_fileRepoRev( "\\bRepository revision:" );
|
|
|
|
//TQRegExp rx_stickyTag( "\\s+(Sticky Tag:\\W+(w+|\\(none\\)))" );
|
|
|
|
//TQRegExp rx_stickyTag( "\\s+(Sticky Tag:\\W+(w+|\\(none\\)))" );
|
|
|
@ -227,7 +227,7 @@ VCSFileInfoMap *CVSFileInfoProvider::parse( TQStringList stringStream )
|
|
|
|
else if (state == 1 && rx_fileName.search( s ) >= 0 && rx_filetqStatus.search( s ) >= 0) // FileName
|
|
|
|
else if (state == 1 && rx_fileName.search( s ) >= 0 && rx_filetqStatus.search( s ) >= 0) // FileName
|
|
|
|
{
|
|
|
|
{
|
|
|
|
fileName = rx_fileName.cap().replace( "File:", "" ).stripWhiteSpace();
|
|
|
|
fileName = rx_fileName.cap().replace( "File:", "" ).stripWhiteSpace();
|
|
|
|
filetqStatus = rx_filetqStatus.cap().replace( "tqStatus:", "" ).stripWhiteSpace();
|
|
|
|
filetqStatus = rx_filetqStatus.cap().replace( "Status:", "" ).stripWhiteSpace();
|
|
|
|
++state; // Next state
|
|
|
|
++state; // Next state
|
|
|
|
kdDebug(9006) << ">> " << fileName << ", " << filetqStatus << endl;
|
|
|
|
kdDebug(9006) << ">> " << fileName << ", " << filetqStatus << endl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|