Lines Matching refs:pool
46 log_depth(svn_depth_t depth, apr_pool_t *pool)
50 return apr_pstrcat(pool, " depth=", svn_depth_to_word(depth), SVN_VA_NULL);
63 svn_log__reparent(const char *path, apr_pool_t *pool)
65 return apr_psprintf(pool, "reparent %s", svn_path_uri_encode(path, pool));
70 svn_log__change_rev_prop(svn_revnum_t rev, const char *name, apr_pool_t *pool)
72 return apr_psprintf(pool, "change-rev-prop r%ld %s", rev,
73 svn_path_uri_encode(name, pool));
77 svn_log__rev_proplist(svn_revnum_t rev, apr_pool_t *pool)
79 return apr_psprintf(pool, "rev-proplist r%ld", rev);
83 svn_log__rev_prop(svn_revnum_t rev, const char *name, apr_pool_t *pool)
85 return apr_psprintf(pool, "rev-prop r%ld %s", rev,
86 svn_path_uri_encode(name, pool));
90 svn_log__commit(svn_revnum_t rev, apr_pool_t *pool)
92 return apr_psprintf(pool, "commit r%ld", rev);
98 apr_pool_t *pool)
100 return apr_psprintf(pool, "get-file %s r%ld%s%s",
101 svn_path_uri_encode(path, pool), rev,
110 apr_pool_t *pool)
112 return apr_psprintf(pool, "get-dir %s r%ld%s%s",
113 svn_path_uri_encode(path, pool), rev,
122 apr_pool_t *pool)
125 apr_pool_t *iterpool = svn_pool_create(pool);
126 svn_stringbuf_t *space_separated_paths = svn_stringbuf_create_empty(pool);
139 return apr_psprintf(pool, "get-mergeinfo (%s) %s%s",
147 apr_pool_t *pool)
149 return apr_psprintf(pool, "checkout-or-export %s r%ld%s",
150 svn_path_uri_encode(path, pool), rev,
151 log_depth(depth, pool));
157 apr_pool_t *pool)
159 return apr_psprintf(pool, "update %s r%ld%s%s",
160 svn_path_uri_encode(path, pool), rev,
161 log_depth(depth, pool),
169 svn_depth_t depth, apr_pool_t *pool)
171 return apr_psprintf(pool, "switch %s %s@%ld%s",
172 svn_path_uri_encode(path, pool),
173 svn_path_uri_encode(dst_path, pool), revnum,
174 log_depth(depth, pool));
179 apr_pool_t *pool)
181 return apr_psprintf(pool, "status %s r%ld%s",
182 svn_path_uri_encode(path, pool), rev,
183 log_depth(depth, pool));
190 apr_pool_t *pool)
196 return apr_psprintf(pool, "diff %s r%ld:%ld%s%s",
197 svn_path_uri_encode(path, pool), from_revnum, revnum,
198 log_depth(depth, pool), log_ignore_ancestry);
199 return apr_psprintf(pool, "diff %s@%ld %s@%ld%s%s",
200 svn_path_uri_encode(path, pool), from_revnum,
201 svn_path_uri_encode(dst_path, pool), revnum,
202 log_depth(depth, pool), log_ignore_ancestry);
211 const apr_array_header_t *revprops, apr_pool_t *pool)
214 apr_pool_t *iterpool = svn_pool_create(pool);
215 svn_stringbuf_t *space_separated_paths = svn_stringbuf_create_empty(pool);
216 svn_stringbuf_t *options = svn_stringbuf_create_empty(pool);
230 const char *tmp = apr_psprintf(pool, " limit=%d", limit);
257 return apr_psprintf(pool, "log (%s) r%ld:%ld%s",
265 apr_pool_t *pool)
268 apr_pool_t *iterpool = svn_pool_create(pool);
269 svn_stringbuf_t *space_separated_revnums = svn_stringbuf_create_empty(pool);
285 return apr_psprintf(pool, "get-locations %s@%ld (%s)",
286 svn_path_uri_encode(path, pool),
293 apr_pool_t *pool)
295 return apr_psprintf(pool, "get-location-segments %s@%ld r%ld:%ld",
296 svn_path_uri_encode(path, pool),
303 apr_pool_t *pool)
305 return apr_psprintf(pool, "get-file-revs %s r%ld:%ld%s",
306 svn_path_uri_encode(path, pool), start, end,
312 svn_boolean_t steal, apr_pool_t *pool)
315 apr_pool_t *iterpool = svn_pool_create(pool);
316 svn_stringbuf_t *space_separated_paths = svn_stringbuf_create_empty(pool);
318 for (hi = apr_hash_first(pool, targets); hi; hi = apr_hash_next(hi))
329 return apr_psprintf(pool, "lock (%s)%s", space_separated_paths->data,
335 svn_boolean_t break_lock, apr_pool_t *pool)
338 apr_pool_t *iterpool = svn_pool_create(pool);
339 svn_stringbuf_t *space_separated_paths = svn_stringbuf_create_empty(pool);
341 for (hi = apr_hash_first(pool, targets); hi; hi = apr_hash_next(hi))
352 return apr_psprintf(pool, "unlock (%s)%s", space_separated_paths->data,
358 apr_pool_t *pool)
360 apr_hash_t *paths = apr_hash_make(pool);
362 return svn_log__lock(paths, steal, pool);
367 apr_pool_t *pool)
369 apr_hash_t *paths = apr_hash_make(pool);
371 return svn_log__unlock(paths, break_lock, pool);
375 svn_log__replay(const char *path, svn_revnum_t rev, apr_pool_t *pool)
380 log_path = svn_path_uri_encode(path, pool);
383 return apr_psprintf(pool, "replay %s r%ld", log_path, rev);
389 apr_pool_t *pool)
394 log_path = svn_path_uri_encode(path, pool);
397 return apr_psprintf(pool, "get-inherited-props %s r%ld", log_path, rev);