- Timestamp:
- Jun 1, 2008, 1:39:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/svndigest.cc
r579 r642 160 160 if (option->verbose()) 161 161 std::cout << "Generating output" << std::endl; 162 if (!option->revisions()) 163 GnuplotFE::instance()->set_dates(SVNlog(repo).date()); 162 if (!option->revisions()) { 163 SVNlog log(repo); 164 std::vector<std::string> dates; 165 dates.reserve(log.commits().size()); 166 for (size_t i=0; i<log.commits().size(); ++i) { 167 assert(static_cast<svn_revnum_t>(i)==log.commits()[i].revision()); 168 dates.push_back(log.commits()[i].date()); 169 } 170 GnuplotFE::instance()->set_dates(dates); 171 } 164 172 chdir(option->targetdir().c_str()); 165 173 mkdir(tree->name());
Note: See TracChangeset
for help on using the changeset viewer.