blob: 8c9df63aa52458bc109146145c65f7a29e6181ef [file] [log] [blame]
/*
* adm_ops.h : side-effecting wc adm information
* (This code doesn't know where any adm information is
* located. The caller always passes in a path obtained
* by using the adm_files.h API.)
*
*
* ====================================================================
* Copyright (c) 2000-2002 CollabNet. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://subversion.tigris.org/license-1.html.
* If newer versions of this license are posted there, you may use a
* newer version instead, at your option.
*
* This software consists of voluntary contributions made by many
* individuals. For exact contribution history, see the revision
* history and logs, available at http://subversion.tigris.org/.
* ====================================================================
*/
#ifndef SVN_LIBSVN_WC_ADM_OPS_H
#define SVN_LIBSVN_WC_ADM_OPS_H
#include <apr_pools.h>
#include "svn_types.h"
#include "svn_string.h"
#include "svn_error.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Modify the entry of working copy PATH, presumably after an update
completes. If PATH doesn't exist, this routine does nothing.
Set the entry's 'url' and 'working revision' fields to BASE_URL and
NEW_REVISION. If BASE_URL is null, the url field is untouched; if
NEW_REVISION in invalid, the working revision field is untouched.
The modifications are mutually exclusive.
If PATH is a directory and RECURSIVE is set, then recursively walk
over all entries files below PATH. While doing this, if
NEW_REVISION is valid, then tweak every entry to have this new
working revision (excluding files that are scheduled for addition
or replacement.) Likewise, if BASE_URL is non-null, then rewrite
all urls to be "telescoping" children of the base_url.
*/
svn_error_t *svn_wc__do_update_cleanup (svn_stringbuf_t *path,
const svn_boolean_t recursive,
const svn_stringbuf_t *base_url,
const svn_revnum_t new_revision,
apr_pool_t *pool);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* SVN_LIBSVN_WC_ADM_OPS_H */
/*
* local variables:
* eval: (load-file "../../tools/dev/svn-dev.el")
* end:
*/