Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Node.cc
r9 r13 79 79 } 80 80 81 bool Node::subversion_controlled(void) const { 82 std::string system_call = "svn info " + path_; 83 int system_return = system(system_call.c_str()); 84 if (system_return){ 85 std::cerr << "Error: svn info " << path_ << std::endl; 86 return false; 87 } 88 std::cerr << "Alright: svn info " << path_ << std::endl; 89 90 return true; 91 } 92 81 93 }} // end of namespace svnstat and namespace theplu -
trunk/lib/Node.h
r10 r13 52 52 virtual void print(void)=0; 53 53 54 /// 55 /// Check if the node is under subversion control. 56 /// 57 /// @return True if subversion controlled, false otherwise. 58 /// 59 bool subversion_controlled(void) const; 60 54 61 protected: 55 62 ///
Note: See TracChangeset
for help on using the changeset viewer.