Changeset 1013


Ignore:
Timestamp:
Jan 5, 2010, 8:19:25 PM (11 years ago)
Author:
Jari Häkkinen
Message:

Replacing local_path_ with local_path() for consistency. Moved local_path_ to Node::private scope.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r1012 r1013  
    150150  void Directory::print_core(const bool verbose) const
    151151  {
    152     mkdir("blame_output/" + local_path_);
     152    mkdir("blame_output/" + local_path());
    153153    // print daughter nodes
    154154    for (NodeConstIterator i=daughters_.begin(); i!=daughters_.end(); ++i)
     
    164164
    165165    const Stats& stats = stats_[stats_type];
    166     std::string outdir = stats_type+"/"+user+"/"+line_type+"/"+local_path_;
    167     if (local_path_=="")
     166    std::string outdir = stats_type+"/"+user+"/"+line_type+"/"+local_path();
     167    if (local_path()=="")
    168168      outdir = stats_type+"/"+user+"/"+line_type;
    169169
    170170    mkdir(outdir);
    171     std::string imagedir = stats_type+"/"+"images/"+line_type+"/"+local_path_;
     171    std::string imagedir = stats_type+"/"+"images/"+line_type+"/"+local_path();
    172172    if (user=="all")
    173173      mkdir(imagedir);
  • trunk/lib/Node.h

    r978 r1013  
    208208
    209209    unsigned int level_;
    210     std::string local_path_; // path from root
    211210    std::string output_dir_;
    212211    std::string path_; // absolute path
     
    235234    bool binary_;
    236235    bool link_;
     236    std::string local_path_; // path from root
    237237    mutable SVNlog* log_;
    238238    bool svndigest_ignore_;
Note: See TracChangeset for help on using the changeset viewer.