Ignore:
Timestamp:
Jul 7, 2010, 7:35:17 AM (11 years ago)
Author:
Peter Johansson
Message:

detecting old cache files and re-writing them in new format (version 8). closes #443 and #289

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/StatsCollection.cc

    r1081 r1124  
    6363    bool result = true;
    6464    for (map::const_iterator i(stats_.begin()); i!=stats_.end(); ++i) {
    65       svn_revnum_t cache_rev = i->second->load_cache(is);
     65      bool latest_ver=true;
     66      svn_revnum_t cache_rev = i->second->load_cache(is, latest_ver);
     67      result &= latest_ver;
    6668      if (cache_rev < i->second->last_changed_rev()) {
    6769        result = false;
Note: See TracChangeset for help on using the changeset viewer.