- Timestamp:
- Jul 18, 2010, 10:45:45 PM (13 years ago)
- Location:
- trunk/lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Directory.cc
r1024 r1137 271 271 const std::map<int,svn_revnum_t>& y2r) const 272 272 { 273 if (!ignore() ){273 if (!ignore() && !svncopyright_ignore()) { 274 274 // print daughter nodes, i.e, this function is recursive 275 275 for (NodeConstIterator i = daughters_.begin(); i!=daughters_.end(); ++i) -
trunk/lib/File.cc
r1134 r1137 52 52 File::File(const unsigned int level, const std::string& path, 53 53 const std::string& output) 54 : Node(level,path,output) 54 : Node(level,path,output) 55 55 { 56 56 output_dir_=output; … … 326 326 const std::map<int,svn_revnum_t>& y2rev) const 327 327 { 328 if (ignore() )328 if (ignore() || svncopyright_ignore()) 329 329 return; 330 330 -
trunk/lib/Node.cc
r1136 r1137 54 54 binary_=property.binary(); 55 55 svndigest_ignore_=property.svndigest_ignore(); 56 svncopyright_ignore_=property.svncopyright_ignore(); 56 57 if (Node::project_==std::string()) // no root directory in local path 57 58 Node::project_ = file_name(path); … … 326 327 327 328 329 bool Node::svncopyright_ignore(void) const 330 { 331 return svncopyright_ignore_; 332 } 333 334 328 335 std::string Node::url(void) const 329 336 { -
trunk/lib/Node.h
r1017 r1137 200 200 201 201 protected: 202 /** 203 \return true if svncopyright::ignore property was set 204 */ 205 bool svncopyright_ignore(void) const; 202 206 203 207 /// … … 238 242 mutable SVNlog* log_; 239 243 bool svndigest_ignore_; 244 bool svncopyright_ignore_; 240 245 SVNinfo svninfo_; 241 246 }; -
trunk/lib/SVNproperty.cc
r978 r1137 46 46 47 47 48 bool SVNproperty::svncopyright_ignore(void) const 49 { 50 return property_.find("svncopyright:ignore") != property_.end(); 51 } 52 48 53 }} // end of namespace svndigest and namespace theplu -
trunk/lib/SVNproperty.h
r978 r1137 67 67 68 68 /** 69 \return true if propert svncopyright::ignore has been set 70 71 \see svndigest_ignore 72 */ 73 bool svncopyright_ignore(void) const; 74 75 /** 69 76 @brief Get the list of properties for item used to creat this 70 77 SVNproperty object.
Note: See TracChangeset
for help on using the changeset viewer.