Changeset 9 for trunk/lib/Node.cc
- Timestamp:
- Dec 30, 2005, 9:24:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Node.cc
r7 r9 12 12 namespace theplu{ 13 13 namespace svnstat{ 14 15 Node::Node(const std::string& path, Node* mother)16 : path_(path), mother_(mother)17 {18 info();19 }20 14 21 15 std::vector<u_int> Node::accumulated(void) const … … 52 46 vec.resize(rev+1); 53 47 for (; i<rev; i++) 54 vec[i]=0;48 vec[i]=0; 55 49 vec[rev]=1; 56 50 } … … 58 52 vec[rev]++; 59 53 stats_[user]=vec; 60 61 if (mother_)62 mother_->add(user,rev);63 54 } 64 55 … … 78 69 getline(ss,tag,':'); 79 70 if (tag == std::string("Repository UUID")) 80 ss >> uuid_;71 ss >> uuid_; 81 72 else if (tag == std::string("Last Changed Author")) 82 ss >> author_;73 ss >> author_; 83 74 else if (tag == std::string("Last Changed Rev")) 84 ss >> revision_;75 ss >> revision_; 85 76 } 86 77
Note: See TracChangeset
for help on using the changeset viewer.