Changeset 381 for trunk/lib/Stats.cc


Ignore:
Timestamp:
Jun 21, 2007, 10:43:17 PM (14 years ago)
Author:
Jari Häkkinen
Message:

SVNblame redesigned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.cc

    r371 r381  
    33/*
    44  Copyright (C) 2005 Peter Johansson
    5   Copyright (C) 2006 Jari Häkkinen, Peter Johansson
     5  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    66
    77  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
     
    148148
    149149    SVNblame svn_blame(path);
    150     while (const SVNblame::blame_information * bi=svn_blame.next()) {
    151       assert(bi);
    152       add(bi->author, bi->revision, *count);
     150    while (svn_blame.valid()) {
     151      add(svn_blame.author(), svn_blame.revision(), *count);
     152      svn_blame.next_line();
    153153      ++count;
    154154    }
Note: See TracChangeset for help on using the changeset viewer.