Ignore:
Timestamp:
Dec 27, 2007, 4:32:43 AM (14 years ago)
Author:
Peter Johansson
Message:

refs #289 - Parser now is fed with lines and does not read file during construction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ClassicStats.cc

    r531 r536  
    6565  {
    6666    Parser parser(path);
    67     std::vector<Parser::line_type>::const_iterator count=parser.type().begin();
    68 
    6967    SVNblame svn_blame(path);
    7068    while (svn_blame.valid()) {
    71       add(svn_blame.author(), svn_blame.revision(), *count);
     69      add(svn_blame.author(), svn_blame.revision(),
     70          parser.parse(svn_blame.line()));
    7271      svn_blame.next_line();
    73       ++count;
    7472    }
    7573  }
Note: See TracChangeset for help on using the changeset viewer.