Changeset 1152 for trunk/lib/SVNproperty.cc
- Timestamp:
- Aug 7, 2010, 4:31:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/SVNproperty.cc
r1144 r1152 40 40 const Configuration& config = Configuration::instance(); 41 41 typedef std::map<std::string, std::string> str_map; 42 const str_map* props = config.svn_properties(file_name(path)); 43 std::map<std::string, std::string>::const_iterator i; 44 std::map<std::string, std::string>::const_iterator e; 45 if (props) { 46 i = props->begin(); 47 e = props->end(); 48 // we can not use map::insert because we want config to have precedence 49 for ( ; i!=e; ++i) 50 property_[i->first] = i->second; 51 } 42 const str_map& props = config.svn_properties(file_name(path)); 43 std::map<std::string, std::string>::const_iterator i = props.begin(); 44 std::map<std::string, std::string>::const_iterator e = props.end(); 45 // we can not use map::insert because we want config to have precedence 46 for ( ; i!=e; ++i) 47 property_[i->first] = i->second; 52 48 53 49 i = property_.begin();
Note: See TracChangeset
for help on using the changeset viewer.