Changeset 532 for trunk/bin


Ignore:
Timestamp:
Dec 26, 2007, 2:47:03 AM (15 years ago)
Author:
Peter Johansson
Message:

Node holds a StatsCollection? rather than a Stats object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svndigest.cc

    r522 r532  
    2424#include "Parameter.h"
    2525
    26 #include "ClassicStats.h"
    2726#include "Configuration.h"
    2827#include "css.h"
     
    3231#include "html_utility.h"
    3332#include "rmdirhier.h"
     33#include "Stats.h"
     34#include "StatsCollection.h"
    3435#include "SVN.h"
    3536#include "SVNinfo.h"
     
    150151  if (option->verbose())
    151152    std::cout << "Parsing directory tree" << std::endl;
    152   ClassicStats stats(tree->parse(option->verbose()));
     153  StatsCollection stats(tree->parse(option->verbose()));
    153154
    154155  if (option->report()) {
     
    170171                                   +tree->name()+"'");
    171172    print_css("svndigest.css");
    172     print_main_page(tree->name(), tree->log(), stats, tree->url());
     173    const Stats& classic = stats["classic"];
     174    print_main_page(tree->name(), tree->log(), classic, tree->url());
    173175    // create structure StatsType/Author/LineType
    174     create_file_struct("classic/", stats);
     176    create_file_struct("classic/", classic);
    175177    try {
    176178      tree->print(option->verbose());
Note: See TracChangeset for help on using the changeset viewer.