Changeset 1218 for trunk/lib/SVN.cc
- Timestamp:
- Oct 10, 2010, 4:27:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/SVN.cc
r1217 r1218 181 181 182 182 183 svn_error_t*SVN::client_blame(const std::string& path,184 185 183 void SVN::client_blame(const std::string& path, 184 svn_client_blame_receiver_t receiver, 185 void *baton, svn_revnum_t rev) 186 186 { 187 187 svn_opt_revision_t head; 188 188 head.kind=svn_opt_revision_number; 189 189 head.value.number=rev; 190 returnclient_blame_call(path, receiver, baton, head);191 } 192 193 svn_error_t*SVN::client_blame(const std::string& path,194 195 190 client_blame_call(path, receiver, baton, head); 191 } 192 193 void SVN::client_blame(const std::string& path, 194 svn_client_blame_receiver_t receiver, 195 void *baton) 196 196 { 197 197 svn_opt_revision_t head; 198 198 head.kind = ( svn_path_is_url(path.c_str()) ? 199 199 svn_opt_revision_head : svn_opt_revision_base ); 200 returnclient_blame_call(path, receiver, baton, head);201 } 202 203 204 svn_error_t*SVN::client_blame_call(const std::string& path,205 206 200 client_blame_call(path, receiver, baton, head); 201 } 202 203 204 void SVN::client_blame_call(const std::string& path, 205 svn_client_blame_receiver_t receiver, 206 void *baton, svn_opt_revision_t& head) 207 207 { 208 208 // Setup to use all revisions … … 216 216 false, receiver, baton, context_, 217 217 subpool); 218 if (err && err->apr_err!=SVN_ERR_CLIENT_IS_BINARY_FILE)218 if (err) 219 219 // cleanup will throw an exception 220 220 cleanup(err, subpool, "SVN::client_blame: svn_client_blame3 failed"); 221 221 svn_pool_destroy(subpool); 222 return err;223 222 } 224 223 … … 328 327 if (info->repos_root_URL) 329 328 rurb->path=info->repos_root_URL; 330 331 329 return SVN_NO_ERROR; 332 330 }
Note: See TracChangeset
for help on using the changeset viewer.