Changeset 228


Ignore:
Timestamp:
Mar 24, 2007, 4:41:47 PM (15 years ago)
Author:
Peter Johansson
Message:

fixes #109

Location:
trunk/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r227 r228  
    176176      map<string, string>::const_iterator name = alias.find(authors[*i]);
    177177      // if alias exist insert alias
    178       if (name != alias.begin() )
     178      if (name != alias.end() )
    179179        copyright[timeinfo->tm_year].insert(name->second);
    180180      else
  • trunk/lib/SVN.cc

    r225 r228  
    209209    lb.authors.reserve(head.value.number+1); // revision 0 is also stored.
    210210    lb.rev.reserve(head.value.number+1); // revision 0 is also stored.
    211     if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, true,
     211    if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, false,
    212212                             log_message_receiver, static_cast<void*>(&lb),
    213213                             context_, subpool)))
     
    247247    lb.authors.reserve(head.value.number+1); // revision 0 is also stored.
    248248    lb.rev.reserve(head.value.number+1); // revision 0 is also stored.
    249     if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, true,
     249    if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, false,
    250250                             log_message_receiver, static_cast<void*>(&lb),
    251251                             context_, subpool)))
     
    285285    lb.authors.reserve(head.value.number+1); // revision 0 is also stored.
    286286    lb.rev.reserve(head.value.number+1); // revision 0 is also stored.
    287     if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, true,
     287    if ((err=svn_client_log3(apr_path, &peg, &start, &head, 0, false, false,
    288288                             log_message_receiver, static_cast<void*>(&lb),
    289289                             context_, subpool)))
     
    330330      lb->authors.push_back("");
    331331    lb->rev.push_back(rev);
    332 
    333332    return SVN_NO_ERROR;
    334333  }
  • trunk/lib/html_utility.cc

    r225 r228  
    268268    std::ofstream os(filename.c_str());
    269269    print_header(os, dir, 0, "main", "index.html");
    270     time_t first = str2time(commit_dates[0]);
     270    time_t first = str2time(commit_dates[1]);
    271271    std::string first_date = asctime(gmtime(&first));
    272272    time_t last = str2time(commit_dates.back());
Note: See TracChangeset for help on using the changeset viewer.