Changeset 639


Ignore:
Timestamp:
May 31, 2008, 3:58:26 AM (13 years ago)
Author:
Peter Johansson
Message:

refs #313 and fixes #332

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.h

    r632 r639  
    4343    inline bool force(void) const { return force_.value(); }
    4444    inline bool generate_config(void) const { return generate_config_.value(); }
    45     inline bool ignore_cache(void) const { return ignore_cache_.value(); }
     45    // Until we fix caching (#313) ignore caching
     46    //inline bool ignore_cache(void) const { return ignore_cache_.value(); }
     47    inline bool ignore_cache(void) const { return true; }
    4648    inline bool report(void) const { return report_.value(); }
    4749    inline bool revisions(void) const { return revisions_.value(); }
  • trunk/lib/Stats.cc

    r637 r639  
    5757    revision_=svn_info.rev();
    5858    last_changed_rev_=svn_info.last_changed_rev();
     59    reset();
    5960  }
    6061
     
    340341    calc_total();
    341342    calc_all();
     343    assert(total_stats().size());
     344    assert(code_stats().size());
     345    assert(comment_or_copy_stats().size());
     346    assert(other_stats().size());
    342347  }
    343348
     
    345350                          const std::string& linetype) const
    346351  {
     352    assert(total_stats().size());
    347353    plot_init(filename);
    348354    GnuplotFE* gp=GnuplotFE::instance();
     
    504510    for (size_t i=0; i<stats_.size(); ++i){
    505511      stats_[i].clear();
     512      stats_[i]["all"]=std::vector<unsigned int>(revision_+1);
    506513    }
    507514    authors_.clear();
Note: See TracChangeset for help on using the changeset viewer.