Changeset 642 for trunk/lib/AddStats.cc


Ignore:
Timestamp:
Jun 1, 2008, 1:39:01 AM (13 years ago)
Author:
Peter Johansson
Message:

transponating internal representation in SVNlog - rather than storing four vectors, a vector<Commitment> is stored. Removed LogIterator? class since it is not needed anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/AddStats.cc

    r552 r642  
    6060    typedef std::set<svn_revnum_t> RevSet;
    6161    RevSet revs;
    62     std::copy(log.revision().begin(), log.revision().end(),
    63               std::inserter(revs, revs.begin()));
     62    std::transform(log.commits().begin(), log.commits().end(),
     63                   std::inserter(revs, revs.begin()), GetRevision());
    6464    for (RevSet::iterator rev_iter=revs.begin();rev_iter!=revs.end();++rev_iter){
    6565      SVNblame svn_blame(path, *rev_iter);
Note: See TracChangeset for help on using the changeset viewer.