Author: julianfoad Date: Fri Jun 5 09:51:10 2015 New Revision: 1683691 URL: http://svn.apache.org/r1683691 Log: On the 'move-tracking-2' branch: Give 'svnmover.c' its own header file, in preparation for splitting it up.
* subversion/svnmover/svnmover.c (svnmover_wc_t): Move to svnmover.h. * subversion/svnmover/svnmover.h New. Added: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h (with props) Modified: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c Modified: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c URL: http://svn.apache.org/viewvc/subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c?rev=1683691&r1=1683690&r2=1683691&view=diff ============================================================================== --- subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c (original) +++ subversion/branches/move-tracking-2/subversion/svnmover/svnmover.c Fri Jun 5 09:51:10 2015 @@ -41,6 +41,7 @@ #include "svn_subst.h" #include "svn_utf.h" #include "svn_version.h" +#include "svnmover.h" #include "private/svn_cmdline_private.h" #include "private/svn_subr_private.h" @@ -111,21 +112,6 @@ notify(const char *fmt, /* ====================================================================== */ -typedef struct svnmover_wc_t -{ - apr_pool_t *pool; - const char *repos_root_url; - /*const char *anchor_repos_relpath;*/ - svn_revnum_t head_revision; - svn_revnum_t base_revision; - - svn_ra_session_t *ra_session; - svn_editor3_t *editor; - svn_branch_revision_root_t *edit_txn; - svn_client_ctx_t *ctx; - -} svnmover_wc_t; - /* Update the WC to revision BASE_REVISION (SVN_INVALID_REVNUM means HEAD). * * Requires these fields in WC: Added: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h URL: http://svn.apache.org/viewvc/subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h?rev=1683691&view=auto ============================================================================== --- subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h (added) +++ subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h Fri Jun 5 09:51:10 2015 @@ -0,0 +1,62 @@ +/** + * @copyright + * ==================================================================== + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * ==================================================================== + * @endcopyright + * + * @file svnmover.h + * @brief Concept Demo for Move Tracking and Branching + */ + +#ifndef SVNMOVER_H +#define SVNMOVER_H + +#include "svn_types.h" +#include "svn_ra.h" + +#include "private/svn_branch.h" +#include "private/svn_editor3e.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + +typedef struct svnmover_wc_t +{ + apr_pool_t *pool; + const char *repos_root_url; + /*const char *anchor_repos_relpath;*/ + svn_revnum_t head_revision; + svn_revnum_t base_revision; + + svn_ra_session_t *ra_session; + svn_editor3_t *editor; + svn_branch_revision_root_t *edit_txn; + svn_client_ctx_t *ctx; + +} svnmover_wc_t; + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* SVNMOVER_H */ + Propchange: subversion/branches/move-tracking-2/subversion/svnmover/svnmover.h ------------------------------------------------------------------------------ svn:eol-style = native