| 102 | } |
| 103 | |
| 104 | void |
| 105 | Client::lock(const Targets & targets, bool force, |
| 106 | const char * comment) |
| 107 | { |
| 108 | Pool pool; |
| 109 | |
| 110 | svn_error_t * error = |
| 111 | svn_client_lock(const_cast<apr_array_header_t*>(targets.array(pool)), |
| 112 | comment, |
| 113 | force, |
| 114 | *m_context, |
| 115 | pool); |
| 116 | if (error != nullptr) |
| 117 | throw ClientException(error); |
| 118 | } |
| 119 | |
| 120 | void |
| 121 | Client::unlock(const Targets & targets, bool force) |