Ignore:
Timestamp:
Oct 30, 2010, 4:41:51 AM (11 years ago)
Author:
Peter Johansson
Message:

fixes #477

Location:
branches/0.8-stable/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8-stable/lib/Directory.cc

    r1024 r1246  
    5050
    5151  Directory::Directory(const unsigned int level, const std::string& path,
    52                        const std::string& output)
    53     : Node(level,path,output)
     52                       const std::string& output, const std::string& project)
     53    : Node(level,path,output,project)
    5454  {
    5555    output_dir_=local_path();
  • branches/0.8-stable/lib/Directory.h

    r978 r1246  
    5353    ///
    5454    Directory(const unsigned int level, const std::string& path,
    55               const std::string& output="");
     55              const std::string& output="", const std::string& project="");
    5656
    5757    ///
  • branches/0.8-stable/lib/Node.cc

    r978 r1246  
    4646
    4747  Node::Node(const unsigned int level, const std::string& path,
    48              const std::string& local_path)
     48             const std::string& local_path, const std::string& project)
    4949    : level_(level), path_(path), stats_(path), log_(NULL), 
    5050      svninfo_(path)
     
    5454    svndigest_ignore_=property.svndigest_ignore();
    5555    if (Node::project_==std::string()) // no root directory in local path
    56       Node::project_ = file_name(path);
     56      Node::project_ = project;
    5757    else if (local_path.empty())
    5858      local_path_ = file_name(path);
  • branches/0.8-stable/lib/Node.h

    r1017 r1246  
    5858    /// @brief Constructor
    5959    ///
    60     Node(const unsigned int, const std::string&, const std::string&);
     60    Node(const unsigned int, const std::string&, const std::string&,
     61         const std::string& = "");
    6162
    6263    ///
Note: See TracChangeset for help on using the changeset viewer.