| 393 | } |
| 394 | |
| 395 | void |
| 396 | Client::import(const Path & path, |
| 397 | const char * url, |
| 398 | const char * message, |
| 399 | bool recurse) |
| 400 | { |
| 401 | Pool pool; |
| 402 | svn_client_commit_info_t *commit_info = nullptr; |
| 403 | |
| 404 | m_context->setLogMessage(message); |
| 405 | |
| 406 | svn_error_t * error = |
| 407 | svn_client_import(&commit_info, |
| 408 | path.c_str(), |
| 409 | url, |
| 410 | !recurse, |
| 411 | *m_context, |
| 412 | pool); |
| 413 | |
| 414 | if (error != nullptr) |
| 415 | throw ClientException(error); |
| 416 | } |
| 417 | |
| 418 | void |
| 419 | Client::import(const Path & path, |