/[Apache-SVN]
ViewVC logotype

Revision 1907963


Jump to revision: Previous Next
Author: kotkov
Date: Thu Mar 2 11:09:02 2023 UTC (15 months, 3 weeks ago)
Changed paths: 5
Log Message:
Slightly refactor the svn_client__checkout_internal() function so that all
parameter processing would happen in one place.

Before this change, this logic was scattered between svn_client_checkout4()
and svn_client__checkout_internal(), with an additional downside that the
internal function could only accept specific parameter combinations.

With this change, all processing happens in svn_client__checkout_internal(),
without any assertions on those parameter combinations.

* subversion/libsvn_client/client.h
  (svn_client__checkout_internal): Accept new `settings_from_context` parameter.
   Adjust docstring.

* subversion/libsvn_client/checkout.c
  (svn_client_checkout4): Move part of the parameter processing into …
  (svn_client__checkout_internal): …this function.

* subversion/libsvn_client/copy.c
  (svn_client__repos_to_wc_copy_dir):
   Adjust calling site of svn_client__checkout_internal().

* subversion/libsvn_client/externals.c
  (switch_dir_external): Adjust calling site of svn_client__checkout_internal().

* subversion/libsvn_client/shelf.c
  (shelf_copy_base): Adjust calling site of svn_client__checkout_internal().


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/checkout.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/client.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/copy.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/externals.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/shelf.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26