Ignore:
Timestamp:
Dec 25, 2009, 12:46:54 AM (13 years ago)
Author:
Peter Johansson
Message:

Fixed bug so default codons are not added twice to configuration
file. The bug caused some comment lines to be interpreted as code
lines. Cache file version is upgraded to prevent that old cache file
(which reflects this bug) are used to create new reports. A notice is
sent to stdout telling the user the cache file is out-dated.

fixes #431

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7-stable/lib/Stats.cc

    r879 r994  
    278278    std::string str;
    279279    getline(is, str);
    280     if (str!=cache_check_str())
     280    if (str!=cache_check_str()) {
     281      if (str == prev_cache_check_str())
     282        std::cout << "cache file is obsolete; "
     283                  << "retrieving statistics from repository.\n";
    281284      return 0;
     285    }
    282286    svn_revnum_t rev;
    283287    is >> rev;
Note: See TracChangeset for help on using the changeset viewer.