Changeset 225 for trunk/bin


Ignore:
Timestamp:
Mar 11, 2007, 12:41:51 PM (17 years ago)
Author:
Peter Johansson
Message:

copyright based on log is printed to cout refs #36

Location:
trunk/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.h

    r198 r225  
    66/*
    77  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
     8  Copyright (C) 2007 Peter Johansson
    89
    910  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
     
    2526*/
    2627
     28#include <map>
    2729#include <string>
    2830
     
    3537    Parameter(const int argc,const char *argv[]);
    3638    inline bool copyright(void) const { return copyright_; }
     39    /// @todo
     40    inline const std::map<std::string, std::string>
     41    copyright_alias(void) const { return copyright_alias_; }
    3742    inline bool force(void) const { return force_; }
    3843    inline bool revisions(void) const { return revisions_; }
     
    5055
    5156    bool copyright_;
     57    std::map<std::string, std::string> copyright_alias_;
    5258    bool force_;
    5359    bool revisions_;
  • trunk/bin/svndigest.cc

    r223 r225  
    126126    exit(-1);
    127127  }
     128  // Is this line needed?
     129  svn->setup_ra_session(repo);
     130  std::vector<std::string> authors=svn->authors(repo);
    128131
    129132  // remove target if needed
     
    159162  if (option->copyright()){
    160163    try {
    161       tree.print_copyright(commit_dates);
     164      tree.print_copyright(commit_dates, authors);
    162165    }
    163166    catch (const std::runtime_error& x) {
Note: See TracChangeset for help on using the changeset viewer.