/** * Process the current input line in the GET_HEADER state. The author, date, and the revision of * the entry are gathered. Note, Subversion does not have per-file revisions, instead, the entire * repository is given a single revision number, which is used for the revision number of each * file. * * @param line A line of text from the svn log output */ private void processGetHeader(String line) { if (!HEADER_REG_EXP.match(line)) { // The header line is not found. Intentionally do nothing. return; } currentRevision = getRevision(HEADER_REG_EXP.getParen(REVISION_GROUP)); currentChange = new SvnChangeSet(); currentChange.setAuthor(HEADER_REG_EXP.getParen(AUTHOR_GROUP)); currentChange.setDate(getDate(HEADER_REG_EXP.getParen(DATE_GROUP))); currentChange.setRevision(currentRevision); status = GET_FILE; }