Changeset 1358 for trunk/lib/CopyrightVisitor.cc
- Timestamp:
- Jun 1, 2011, 1:38:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/CopyrightVisitor.cc
r1321 r1358 2 2 3 3 /* 4 Copyright (C) 2010 Peter Johansson4 Copyright (C) 2010, 2011 Peter Johansson 5 5 6 6 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 23 23 24 24 #include "Configuration.h" 25 #include "CopyrightStats.h" 25 26 #include "Directory.h" 26 27 #include "File.h" … … 175 176 return; 176 177 } 177 std::map<int, std::set<Alias> > map; 178 create_year2alias(map, file); 178 if (verbose_) 179 std::cout << "Parsing '" << file.path() << "'\n"; 180 CopyrightStats stats(file.path(), ignore_cache_, alias_, year2rev_); 181 const std::map<int, std::set<Alias> >& map = stats.map(); 182 assert(!map.empty()); 179 183 std::string new_block = copyright_block(map, prefix); 180 184 if (old_block==new_block) … … 231 235 if (file.ignore() || file.svncopyright_ignore()) 232 236 return; 233 file.parse(verbose_, ignore_cache_);234 237 update_copyright(file); 235 file.stats().reset(); 238 239 //file.parse(verbose_, ignore_cache_); 240 //update_copyright(file); 241 //file.stats().reset(); 236 242 } 237 243
Note: See TracChangeset
for help on using the changeset viewer.