| 23 | #include <vcs/vcsannotation.h> |
| 24 | |
| 25 | void fail (apr_pool_t *pool, apr_status_t status, const char *fmt, ...) |
| 26 | { |
| 27 | va_list ap; |
| 28 | char *msg; |
| 29 | svn_error_t * error; |
| 30 | |
| 31 | va_start (ap, fmt); |
| 32 | msg = apr_pvsprintf (pool, fmt, ap); |
| 33 | va_end (ap); |
| 34 | |
| 35 | error = svn_error_create (status, nullptr, msg); |
| 36 | throw svn::ClientException (error); |
| 37 | } |
| 38 | |
| 39 | void cleanup( apr_file_t* outfile, const char* outfileName, apr_file_t* errfile, const char* errfileName, const svn::Pool& pool ) |
| 40 | { |