Changeset 757 for trunk/lib/Node.cc


Ignore:
Timestamp:
Jan 28, 2009, 12:00:58 AM (12 years ago)
Author:
Peter Johansson
Message:

closes #185 and avoid copying in recursive log function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r751 r757  
    154154      if (ignore())
    155155        log_ = new SVNlog;
    156       else
    157         log_ = new SVNlog(log_core());
     156      else {
     157        log_ = new SVNlog(path());
     158        log_core(*log_);
     159      }
    158160    }
    159161    return *log_;
     
    205207    if (verbose)
    206208      std::cout << "Printing output for " << path_ << std::endl;
    207     SVNlog log(path_);
     209    const SVNlog& log = this->log();
    208210    typedef std::map<std::string, Stats*>::const_iterator iter;
    209211
Note: See TracChangeset for help on using the changeset viewer.