Checkout
Julian Foad
committed
on 26 Aug 15
On the 'move-tracking-2' branch: Separate the repository-object API from the
rest of the branching API, into its own header and implementati… Show more
On the 'move-tracking-2' branch: Separate the repository-object API from the

rest of the branching API, into its own header and implementation files.

* subversion/include/private/svn_branch.h,

 subversion/libsvn_delta/branch.c

 (svn_branch_repos_t): Leave the typedef here; make the struct definition

   opaque, moving it to 'branch_repos.c'.

 (svn_branch_repos_create,

  svn_branch_repos_get_revision,

  svn_branch_repos_get_root_branch,

  svn_branch_repos_get_branch_by_id,

  svn_branch_repos_find_el_rev_by_id,

  svn_branch_repos_find_el_rev_by_path_rev,

  svn_branch_revision_root_get_base): Move these...

* subversion/include/private/svn_branch_repos.h,

 subversion/libsvn_delta/branch_repos.c

 ... to these new files.

 (svn_branch_repos_get_base_revision_root): Renamed from

   'svn_branch_revision_root_get_base'.

 (svn_branch_repos_add_revision): New.

* subversion/libsvn_delta/compat3e.c

 Include 'svn_branch_repos.h'.

* subversion/libsvn_ra/ra_loader.c

 Include 'svn_branch_repos.h'.

 (svn_branch_repos_fetch_info,

  commit_callback_wrapper): Use 'svn_branch_repos_add_revision' instead of

   direct access to the 'repos' structure.

* subversion/svnmover/svnmover.c

 Include 'svn_branch_repos.h'.

 (wc_checkout,

  display_diff_of_commit): Track the rename.

Show less