svn_client_add_to_changelist

Function svn_client_add_to_changelist 

Source
pub unsafe extern "C" fn svn_client_add_to_changelist(
    paths: *const apr_array_header_t,
    changelist: *const c_char,
    depth: svn_depth_t,
    changelists: *const apr_array_header_t,
    ctx: *mut svn_client_ctx_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Add each path in @a paths (recursing to @a depth as necessary) to @a changelist. If a path is already a member of another changelist, then remove it from the other changelist and add it to @a changelist. (For now, a path cannot belong to two changelists at once.)

@a paths is an array of (const char *) local WC paths.

@a changelists is an array of const char * changelist names, used as a restrictive filter on items whose changelist assignments are adjusted; that is, don’t tweak the changeset of any item unless it’s currently a member of one of those changelists. If @a changelists is empty (or altogether @c NULL), no changelist filtering occurs.

@note This metadata is purely a client-side “bookkeeping” convenience, and is entirely managed by the working copy.

@since New in 1.5.