Changeset 994
- Timestamp:
- Dec 25, 2009, 12:46:54 AM (13 years ago)
- Location:
- branches/0.7-stable/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.7-stable/lib/Configuration.cc
r847 r994 129 129 { 130 130 assert(is.good()); 131 set_default();132 131 133 132 bool parsing_found=false; -
branches/0.7-stable/lib/Stats.cc
r879 r994 278 278 std::string str; 279 279 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"; 281 284 return 0; 285 } 282 286 svn_revnum_t rev; 283 287 is >> rev; -
branches/0.7-stable/lib/Stats.h
r847 r994 223 223 // that all old cache files are obsolete. 224 224 inline std::string cache_check_str(void) const 225 {return "CACHE FILE VERSION 7";} 226 227 inline std::string prev_cache_check_str(void) const 225 228 {return "CACHE FILE VERSION 6";} 226 229
Note: See TracChangeset
for help on using the changeset viewer.