Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Various spelling fixes, no functional change

* contrib/client-side/svn-clean

(--exclude): s/exluded/excluded/

* subversion/include/svn_error_codes.h

(SVN_ERR_X509_CERT_VERIFY_FAILED): s/Certficate/Certificate/

* subversion/po/de.po,

subversion/po/ja.po,

subversion/po/ko.po,

subversion/po/pl.po,

subversion/po/sv.po:

(): s/Certficate/Certificate/; s/abandonded/abandoned/

* subversion/libsvn_repos/repos.c:

(): s/abandonded/abandoned/

* subversion/libsvn_repos/repos.c,

subversion/svnadmin/svnadmin.c,

subversion/tests/libsvn_client/client-test.c:

(): s/filesytem/filesystem/

  1. … 9 more files in changeset.
* subversion/libsvn_repos/repos.c

(freeze_baton_t): Add 'const' to the paths array. A follow-up to r1826802.

Add "const" to an "apr_array_header_t *" input parameter.

This is the only case in the whole API where it was missing.

(Note that we are allowed to add "const" to a pointer parameter of a public

API, and have done so before e.g. in r922239, because that is a backward-

compatible API change and doesn't change the ABI at all.)

* subversion/include/svn_repos.h

subversion/libsvn_repos/repos.c

(svn_repos_freeze): Add 'const' to the paths array parameter.

  1. … 1 more file in changeset.
svnserve: Make use-sasl=true a fatal error in SASL-less builds.

As a side effect, this revision also stops explicitly initializing 'min_ssf'

and 'max_ssf' in non-SASL mode.

This patch was tracked as SVN-4629.

* subversion/svnserve/serve.c

(find_repos): Check 'use-sasl' in SASL-less builds, too.

* subversion/libsvn_repos/repos.c

(create_conf): Update documentation.

* notes/api-errata/1.10/: New.

* notes/api-errata/1.10/svnserve001.txt: New.

  1. … 3 more files in changeset.
Replace all usages of svn_fs_get_mergeinfo2 with the new API.

* subversion/include/private/svn_fs_private.h

(svn_fs__get_mergeinfo_for_path): Update reference in docstring.

* subversion/libsvn_fs/fs-loader.c

(mergeinfo_receiver_baton_t,

mergeinfo_receiver): New callback & baton to be used with ...

(svn_fs__get_mergeinfo_for_path): ... this when calling the new API.

* subversion/libsvn_repos/repos.c

(dummy_mergeinfo_receiver): New callback to be used with ...

(svn_repos_has_capability): ... this when calling the new API.

  1. … 2 more files in changeset.
Introduce a "directory list" operation at the repos layer. This is the

first step towards an efficient implementation of 'svn list -r'.

The function is straight-forward with support for operation depth and

authz. One important use-case is "find files". To support this with

minimal system load, the function allows to specify a glob pattern for

the file name and has an option to only report path and node type.

* subversion/include/svn_repos.h

(svn_repos_dirent_receiver_t,

svn_repos_list): The new API.

* subversion/libsvn_repos/list.c

(*): New file implementing the new API. Noteworthy:

(fill_dirent): Factored out from ...

(svn_repos_stat): ... this, which has been moved here from repos.c

* subversion/libsvn_repos/repos.c

(svn_repos_stat): Move from here to list.c due to shared code.

* subversion/tests/libsvn_repos/repos-test.c

(test_list): Simple test-case for the new function.

(test_funcs): Register new test.

  1. … 3 more files in changeset.
* subversion/libsvn_repos/repos.c

(create_hooks): Fix typo in SVN_REPOS__HOOK_POST_LOCK description

Patch by: Christoph Biedl <debian.axhn{_AT_}manchmal.in-ulm.de>

Provide a (hopefully) better documentation for the AuthzSVNGroupsFile

directive and for the groups-db option in svnserve.conf.

* subversion/libsvn_repos/repos.c

(create_conf): Explain the purpose of the groups-db option.

* subversion/mod_authz_svn/INSTALL

(II.1, Example 8): Add necessary details to this example with the

AuthzSVNGroupsFile directive.

(II.2): Split into two subsections with the format details and examples

for both access files and files with the group definitions.

  1. … 1 more file in changeset.
Switch svn_fs_create() to result/scratch pool paradigm.

* subversion/include/svn_fs.h

(svn_fs_create2): Revv svn_fs_create() with SCRATCH_POOL argument.

(svn_fs_create): Deprecate.

* subversion/libsvn_fs/fs-loader.c

(svn_fs_create2): Revv. Use SCRATCH_POOL for temporary allocations instead

of creating new subpool.

(svn_fs_create): Implement deprecated function.

* subversion/libsvn_repos/repos.c

(svn_repos_create): Use svn_fs_create2().

* subversion/tests/svn_test_fs.c

(create_fs): Use svn_fs_create2().

  1. … 3 more files in changeset.
Fix start-commit hook template documentation so that the paragraphs referring to the CAPABILITIES parameter are together.

Obvious fix.

* subversion/libsvn_repos/repos.c

(create_hooks): move paragraph up to note on CAPABILITIES

Follow-up to r1673170: Fix compiler warning.

* subversion/libsvn_repos/repos.c

(svn_repos_stat): Remove unused variable.

Add an fs layer api that allows obtaining just a boolean indicating whether

properties exist on a node, instead of always obtaining the properties and

checking their count.

This is by far the most expensive operation on 'svn ls -v' in Subversion <=

1.8.x on huge directories as it requires fetching much 'new' data, and has

the risk of trashing the node cache.

r1673153 made new 'svn' clients stop asking for this information for this

scenario but existing clients do ask and so will most likely many third

party clients (confirmed for TortoiseSVN), will keep asking for this

information.

This function introduces the FS api and updates callers, but doesn't provide

optimized implementations yet, so the result is that this doesn't change

runtime behaviour yet, but just moves the implementation into the fs layer.

I hope this patch will be accepted for 1.9.0 to allow further improvements

in later patches, potentially after 1.9.0.

* subversion/include/svn_fs.h

(svn_fs_node_has_props): New function.

* subversion/libsvn_fs/fs-loader.c

(svn_fs_node_has_props): New function.

* subversion/libsvn_fs/fs-loader.h

(root_vtable_t): Add node_has_props.

* subversion/libsvn_fs_base/tree.c

(base_node_has_props): New function.

(root_vtable): Add function.

* subversion/libsvn_fs_fs/tree.c

(fs_node_has_props): New function.

(root_vtable): Add function.

* subversion/libsvn_fs_x/tree.c

(x_node_has_props): New function.

(root_vtable): Add function.

* subversion/libsvn_ra_local/ra_plugin.c

(svn_ra_local__get_dir): Use new optimized fs call. Rename subpool

to iterpool.

* subversion/libsvn_repos/repos.c

(svn_repos_stat): Use new optimized fs call.

* subversion/mod_dav_svn/liveprops.c

(insert_prop_internal): Use optimized code for svn clients.

* subversion/svnserve/serve.c

(get_dir): Use optimized fs code.

* subversion/tests/libsvn_ra/ra-test.c

(ra_list_has_props): New function.

(test_funcs): Add ra_list_has_props.

  1. … 10 more files in changeset.
Explicitly rename pools to scratch_pool / result_pool for new 1.9

declarations in the SVN Repos API after 1.9 review. Update the

implementatation. No functional change intended.

* subversion/include/svn_repos.h

(svn_repos_fs_type): The pool parameter is a pure RESULT_POOL.

Have each argument on a separate line.

(svn_repos_hotcopy3): The pool parameter is mere SCRATCH_POOL.

Mention it in the docstring.

* subversion/libsvn_repos/repos.c

(svn_repos_fs_type,

svn_repos_hotcopy3): Reflect header changes in the implementation.

  1. … 1 more file in changeset.
Following r1658926, do a bit more deduplication of the code that writes the

hook script templates.

This revealed an inconsistency in localization of error messages. The wrapped

error messages were not localized for pre/post-lock/unlock. Fix this too.

* subversion/libsvn_repos/repos.c

(write_hook_template_file): New function factored out of create_hooks().

(create_hooks): Use it for each of the nine hook script templates. Mark error

messages for localization where missing.

Make all nine hook script templates include consistent descriptions of the

conditions under which they are invoked.

The pre/post-lock/unlock templates lacked the "The hook program runs

in an empty environment..." and "For more examples..." paragraphs. The

pre/post-revprop-change templates lacked the "default working directory

... is undefined" paragraph.

* subversion/libsvn_repos/repos.c

(hook_template_text): New function containing text factored out of

create_hooks().

(create_hooks): Use it for each of the nine hook script templates.

Add error tracing in two functions that try to remove a repository.

* subversion/libsvn_fs_fs/fs.c

(fs_delete_fs): Add error tracing.

* subversion/libsvn_repos/repos.c

(svn_repos_delete): Add error tracing.

  1. … 1 more file in changeset.
Following up on r1613339, move a couple of deprecated functions into the

right place.

* subversion/libsvn_repos/repos.c

(svn_repos_hotcopy2, svn_repos_hotcopy): Move these deprecated functions...

* subversion/libsvn_repos/deprecated.c

(svn_repos_hotcopy2, svn_repos_hotcopy): ...here.

  1. … 1 more file in changeset.
Teach 'svnadmin hotcopy' (both incremental and non-incremental) to report

progress when copying revisions and packed shards. Currently, this is only

supported for FSFS repositories. A sample output may look like this...

* Copied revision 0.

* Copied revision 1.

* Copied revision 2.

* Copied revision 3.

...or like this (for packed repositories):

* Copied revisions from 0 to 999.

* Copied revisions from 1000 to 1999.

* Copied revision 2000.

* Copied revision 2001.

* Copied revision 2002.

* Copied revision 2003.

In short, if and only if we created or updated something in the hotcopy

destination, the caller is notified about this. These notifications (hence,

the 'svnadmin' output) are guaranteed to arrive in ascending order, but may

contain gaps in the incremental mode. The reason for this is that sometimes

we need to re-copy data that was modified in the hotcopy source, e.g. due

to revision property changes.

As it is with other similar operations, 'svnadmin hotcopy' now accepts the

--quiet option, but the progress output is enabled by default.

* subversion/include/svn_repos.h

(svn_repos_notify_action_t): Add 'svn_repos_notify_hotcopy_rev_range'.

This new notification type allows us to track the hotcopy progress.

(svn_repos_notify_t): Support start and end revisions coming with the

new notification type.

(svn_repos_hotcopy3): New version of svn_repos_hotcopy2() accepting a

notify func and the corresponding baton.

(svn_repos_hotcopy2): Deprecate.

* subversion/libsvn_repos/repos.c

(fs_hotcopy_notify_baton_t, fs_hotcopy_notify): New.

(svn_repos_hotcopy3): Marshal notifications from the FS layer in this

newly added replacement for svn_repos_hotcopy2().

(svn_repos_hotcopy2): Preserve the original behavior by calling

svn_repos_hotcopy3() without the notification support.

* subversion/include/svn_fs.h

(svn_fs_hotcopy_notify_t): New.

(svn_fs_hotcopy3): New version of svn_fs_hotcopy2() accepting a

notify func and the corresponding baton.

(svn_fs_hotcopy2): Deprecate.

* subversion/libsvn_fs/fs-loader.h

(fs_library_vtable_t.hotcopy): Now accepts a notify func and a baton.

* subversion/libsvn_fs/fs-loader.c

(svn_fs_hotcopy3): Call the corresponding vtable member and pass the

notify func and baton arguments in this newly added replacement for

svn_fs_hotcopy2().

(svn_fs_hotcopy2): Preserve the original behavior by calling

svn_fs_hotcopy3() without the notification support.

* subversion/libsvn_fs_fs/fs.c

(fs_hotcopy): Add the notify func and baton arguments. Pass them when

invoking the hotcopy.

* subversion/libsvn_fs_base/fs.c

(base_hotcopy): Now accepts a notify func and a baton.

* subversion/libsvn_fs_x/fs.c

(x_hotcopy): Now accepts a notify func and a baton.

* subversion/libsvn_fs_fs/hotcopy.h

(svn_fs_fs__hotcopy): Now accepts a notify func and a baton.

* subversion/libsvn_fs_fs/hotcopy.c

(hotcopy_io_dir_file_copy): Add an optional flag and unset it whenever we

did copy the file. Hotcopy skips files that do not differ in terms of

kind, size, and mtime and we want to be able to distinguish situations

where the file was actually copied.

(hotcopy_io_copy_dir_recursively, hotcopy_copy_shard_file): Add the same

optional flag argument and push it down the stack. These functions

eventually end up with calling hotcopy_io_dir_file_copy() and we want

them to unset the corresponding flag whenever at least one file was

copied.

(hotcopy_revisions, hotcopy_revisions_old): Initialize the 'skipped' flag

and notify the caller in case it was unset by the corresponding copy

routines (for revisions and packed shards).

(hotcopy_body_baton): Add the notify func and baton fields.

(hotcopy_body): Pass the notify func and baton to the revision copying

functions. Do not ask whether we actually copied something during

the part when we copy the 'db/node-origins/' cache, because we are

not interested.

(svn_fs_fs__hotcopy): Push the notify func and baton fields down to

hotcopy_body() via the corresponding 'hotcopy_body_baton'.

* subversion/svnadmin/svnadmin.c

(cmd_table."hotcopy"): Enable the '--quiet' option.

(repos_notify_handler): Handle the new 'svn_repos_notify_hotcopy_rev_range'

notification. Tweak the docstring.

(subcommand_hotcopy): Create the feedback stream iff running in non-quiet

mode. Call svn_repos_hotcopy3() instead of svn_repos_hotcopy2(); pass

the appropriate notify handler.

* subversion/tests/cmdline/svnadmin_tests.py

(fsfs_hotcopy_progress, fsfs_hotcopy_progress_with_revprop_changes,

fsfs_hotcopy_progress_old): New.

(test_list): Add references to new tests.

  1. … 11 more files in changeset.
Fix issue 3046 by adding a statement about quoting of parameters and delimiting

argument lists. Also add a hint about peg revisions, while we are at it.

* subversion/libsvn_repos/repos.c

(create_hooks): Add a hint about quoting of parameters and url

handling to the hook templates.

Approved by: danielsh

* subversion/libsvn_repos/repos.c

(HOOKS_ENVIRONMENT_TEXT): Add details to the documentation embedded in hooks.

Inspired by: schabi

Follow-up to r1589048: Use svn_fs_open2() and scratch pool for svnadmin

freeze.

* subversion/libsvn_repos/repos.c

(freeze_baton_t): Add SCRATCH_POOL.

(multi_freeze): Clear FB->SCRATCH_POOL on entry and use it for temporary

allocations.

(svn_repos_freeze): Initialize FB.SCRATCH_POOL.

Switch svn_repos_open2() and svn_fs_open() to result/scratch pool paradigm.

* subversion/include/svn_fs.h

(svn_fs_open2): Revv svn_fs_open() with SCRATCH_POOL argument.

(svn_fs_open): Deprecate.

* subversion/include/svn_repos.h

(svn_repos_open3): Revv svn_repos_open2() with SCRATCH_POOL argument.

(svn_repos_open2): Implement deprecated function.

* subversion/libsvn_fs/fs-loader.c

(fs_library_vtable): Remove subpool.

(svn_fs_open2): Revv. Use SCRATCH_POOL for temporary allocations.

(svn_fs_open): Implement deprecated function.

* subversion/libsvn_repos/deprecated.c

(svn_repos_open2): Implement deprecated function.

* subversion/libsvn_repos/repos.c

(get_repos): Add SCRATCH_POOL argument. Use it where appropriate.

(svn_repos_open3): Revv svn_repos_open2(). Use SCRATCH_POOL for

temporary allocations.

(svn_repos_upgrade2, svn_repos_recover4, multi_freeze,

svn_repos_db_logfiles, svn_repos_hotcopy2): Adapt callers of get_repos().

* subversion/mod_dav_svn/repos.c

(get_resource): Use svn_repos_open3() with r->pool as SCRATCH_POOL.

* subversion/mod_dav_svn/version.c

(cleanup_deltify): Use svn_repos_open3().

* subversion/svnserve/serve.c

(find_repos): Add SCRATCH_POOL and use svn_repos_open3().

(construct_server_baton): Update caller.

  1. … 7 more files in changeset.
Really cleanup after ourselves when creating a repository fails. Without this

patch we leave an incomplete repository on Windows (and we return an ugly

error, which is why I found this problem).

* subversion/libsvn_repos/repos.c

(svn_repos_create): Use a scratch pool to hold the lock when creating a

repository to allow destroying the pool when deleting the repository

on a failure. Rename the normal pool to result_pool.

Found by: SharpSvn test suite

Merge the fsfs-lock-many branch to trunk. This introduce multiple

path lock and unlock at the FS level and connects it up over ra_local

and ra_svn, and also uses it post-commit to release locks. A summary

of the branch changes:

* subversion/include/svn_fs.h

(svn_fs_lock_target_t, svn_fs_lock_result_t,

svn_fs_lock2, svn_fs_unlock2): new.

* subversion/include/svn_repos.h

(svn_repos_fs_lock2, svn_repos_fs_unlock2): new.

* subversion/include/svn_error.h

(SVN_ERR_IS_LOCK_ERROR, SVN_ERR_IS_UNLOCK_ERROR): Add pre- hook errors.

* subversion/libsvn_fs/fs-loader.c

(svn_fs_lock2, svn_fs_unlock2): New.

* subversion/libsvn_fs/fs-loader.h

(fs_vtable_t): Change lock and unlock parameters.

* subversion/libsvn_fs_fs/lock.c

* subversion/libsvn_fs_x/lock.c

(svn_fs_fs__lock, svn_fs_fs__unlock): New multiple path implementation.

* subversion/libsvn_fs_base/lock.c

(svn_fs_base__lock, svn_fs_base__unlock): Iterate over paths.

* subversion/libsvn_fs_fs/lock.h

(svn_fs_fs__lock, svn_fs_fs__unlock): Change parameters.

* subversion/libsvn_fs_x/lock.h

(svn_fs_x__lock, svn_fs_x__unlock): Change parameters.

* subversion/libsvn_fs_base/lock.h

(svn_fs_base__lock, svn_fs_base__unlock): Change parameters.

* subversion/libsvn_repos/fs-wrap.c

(svn_repos_fs_lock2, svn_repos_fs_unlock2): New.

* subversion/libsvn_repos/repos.c

(SVN_REPOS__HOOK_POST_LOCK, SVN_REPOS__HOOK_POST_UNLOCK): Tweak hook

template text.

* subversion/libsvn_ra_local/ra_plugin.c

(deltify_etc, svn_ra_local__lock, svn_ra_local__unlock): Use new API.

* subversion/mod_dav_svn/version.c

(release_locks): Use new API.

* subversion/svnserve/serve.c

(unlock_paths, lock_many, unlock_many): Use new API.

* subversion/libsvn_subr/log.c

* subversion/libsvn_fs_fs/lock.h

(svn_fs_fs__lock, svn_fs_fs__unlock,

svn_log__lock_one_path, svn_log__unlock_one_path): Change parameter.

* subversion/libsvn_client/locking_commands.c

(store_locks_callback): Tweak error handling.

* subversion/tests/libsvn_fs/locks-test.c

(lock_multiple_paths): New test.

* subversion/tests/libsvn_ra/ra-test.c

(lock_test): New test.

* subversion/tests/cmdline/authz_tests.py

(authz_locking): Tweak expectations.

* subversion/tests/cmdline/lock_tests.py

(block_unlock_if_pre_unlock_hook_fails, lock_hook_messages): Tweak

expectations.

(failing_post_hooks): New.

  1. … 26 more files in changeset.
Revert r1508225, which moved the include of svn_private_config.h before all

includes of our public headers. Public headers shouldn't depend on private

headers and all changes that required this are long reverted on trunk.

This patch excludes all conflicting cases.

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c

* subversion/libsvn_auth_gnome_keyring/gnome_keyring.c

* subversion/libsvn_client/add.c

* subversion/libsvn_client/cat.c

* subversion/libsvn_client/changelist.c

* subversion/libsvn_client/cleanup.c

* subversion/libsvn_client/commit.c

* subversion/libsvn_client/commit_util.c

* subversion/libsvn_client/copy.c

* subversion/libsvn_client/copy_foreign.c

* subversion/libsvn_client/ctx.c

* subversion/libsvn_client/delete.c

* subversion/libsvn_client/deprecated.c

* subversion/libsvn_client/diff.c

* subversion/libsvn_client/diff_local.c

* subversion/libsvn_client/diff_summarize.c

* subversion/libsvn_client/export.c

* subversion/libsvn_client/externals.c

* subversion/libsvn_client/import.c

* subversion/libsvn_client/info.c

* subversion/libsvn_client/iprops.c

* subversion/libsvn_client/list.c

* subversion/libsvn_client/locking_commands.c

* subversion/libsvn_client/log.c

* subversion/libsvn_client/merge.c

* subversion/libsvn_client/mergeinfo.c

* subversion/libsvn_client/patch.c

* subversion/libsvn_client/prop_commands.c

* subversion/libsvn_client/ra.c

* subversion/libsvn_client/repos_diff.c

* subversion/libsvn_client/resolved.c

* subversion/libsvn_client/revert.c

* subversion/libsvn_client/switch.c

* subversion/libsvn_client/update.c

* subversion/libsvn_client/util.c

* subversion/libsvn_delta/compat.c

* subversion/libsvn_delta/xdelta.c

* subversion/libsvn_diff/parse-diff.c

* subversion/libsvn_diff/util.c

* subversion/libsvn_fs/access.c

* subversion/libsvn_fs_base/bdb/changes-table.c

* subversion/libsvn_fs_base/bdb/env.c

* subversion/libsvn_fs_base/dag.c

* subversion/libsvn_fs_base/fs.c

* subversion/libsvn_fs_base/lock.c

* subversion/libsvn_fs_base/revs-txns.c

* subversion/libsvn_fs_base/tree.c

* subversion/libsvn_fs_fs/caching.c

* subversion/libsvn_fs_fs/lock.c

* subversion/libsvn_fs_fs/temp_serializer.c

* subversion/libsvn_fs_fs/tree.c

* subversion/libsvn_ra/compat.c

* subversion/libsvn_ra/deprecated.c

* subversion/libsvn_ra/ra_loader.c

* subversion/libsvn_ra_local/ra_plugin.c

* subversion/libsvn_ra_serf/blame.c

* subversion/libsvn_ra_serf/blncache.c

* subversion/libsvn_ra_serf/commit.c

* subversion/libsvn_ra_serf/getlocations.c

* subversion/libsvn_ra_serf/getlocationsegments.c

* subversion/libsvn_ra_serf/getlocks.c

* subversion/libsvn_ra_serf/inherited_props.c

* subversion/libsvn_ra_serf/log.c

* subversion/libsvn_ra_serf/merge.c

* subversion/libsvn_ra_serf/mergeinfo.c

* subversion/libsvn_ra_serf/options.c

* subversion/libsvn_ra_serf/property.c

* subversion/libsvn_ra_serf/replay.c

* subversion/libsvn_ra_serf/serf.c

* subversion/libsvn_ra_serf/update.c

* subversion/libsvn_ra_serf/util.c

* subversion/libsvn_ra_serf/xml.c

* subversion/libsvn_ra_svn/client.c

* subversion/libsvn_ra_svn/editorp.c

* subversion/libsvn_ra_svn/marshal.c

* subversion/libsvn_repos/authz.c

* subversion/libsvn_repos/commit.c

* subversion/libsvn_repos/delta.c

* subversion/libsvn_repos/deprecated.c

* subversion/libsvn_repos/fs-wrap.c

* subversion/libsvn_repos/hooks.c

* subversion/libsvn_repos/log.c

* subversion/libsvn_repos/replay.c

* subversion/libsvn_repos/reporter.c

* subversion/libsvn_repos/repos.c

* subversion/libsvn_repos/rev_hunt.c

* subversion/libsvn_subr/auth.c

* subversion/libsvn_subr/cmdline.c

* subversion/libsvn_subr/compat.c

* subversion/libsvn_subr/config.c

* subversion/libsvn_subr/config_auth.c

* subversion/libsvn_subr/deprecated.c

* subversion/libsvn_subr/dso.c

* subversion/libsvn_subr/hash.c

* subversion/libsvn_subr/io.c

* subversion/libsvn_subr/mergeinfo.c

* subversion/libsvn_subr/opt.c

* subversion/libsvn_subr/properties.c

* subversion/libsvn_subr/simple_providers.c

* subversion/libsvn_subr/sorts.c

* subversion/libsvn_subr/ssl_client_cert_providers.c

* subversion/libsvn_subr/ssl_client_cert_pw_providers.c

* subversion/libsvn_subr/ssl_server_trust_providers.c

* subversion/libsvn_subr/subst.c

* subversion/libsvn_subr/types.c

* subversion/libsvn_subr/username_providers.c

* subversion/libsvn_subr/utf.c

* subversion/libsvn_subr/win32_crypto.c

* subversion/libsvn_wc/adm_crawler.c

* subversion/libsvn_wc/adm_files.c

* subversion/libsvn_wc/conflicts.c

* subversion/libsvn_wc/copy.c

* subversion/libsvn_wc/deprecated.c

* subversion/libsvn_wc/diff_editor.c

* subversion/libsvn_wc/diff_local.c

* subversion/libsvn_wc/entries.c

* subversion/libsvn_wc/externals.c

* subversion/libsvn_wc/info.c

* subversion/libsvn_wc/lock.c

* subversion/libsvn_wc/node.c

* subversion/libsvn_wc/old-and-busted.c

* subversion/libsvn_wc/props.c

* subversion/libsvn_wc/revert.c

* subversion/libsvn_wc/status.c

* subversion/libsvn_wc/update_editor.c

* subversion/libsvn_wc/upgrade.c

* subversion/libsvn_wc/wc_db_update_move.c

* subversion/libsvn_wc/wc_db_wcroot.c

* subversion/mod_dav_svn/repos.c

* subversion/mod_dav_svn/version.c

* subversion/svn/cl-conflicts.c

* subversion/svn/commit-cmd.c

* subversion/svn/conflict-callbacks.c

* subversion/svn/diff-cmd.c

* subversion/svn/help-cmd.c

* subversion/svn/notify.c

* subversion/svn/propedit-cmd.c

* subversion/svn/propget-cmd.c

* subversion/svn/props.c

* subversion/svn/status-cmd.c

* subversion/svn/status.c

* subversion/svn/svn.c

* subversion/svn/util.c

* subversion/svnadmin/svnadmin.c

* subversion/svnlook/svnlook.c

* subversion/svnrdump/dump_editor.c

* subversion/svnrdump/svnrdump.c

* subversion/svnrdump/util.c

* subversion/svnserve/serve.c

* subversion/svnsync/svnsync.c

* subversion/svnsync/sync.c

* subversion/tests/libsvn_fs/fs-test.c

* subversion/tests/libsvn_repos/repos-test.c

* subversion/tests/libsvn_subr/hashdump-test.c

* subversion/tests/libsvn_subr/mergeinfo-test.c

* subversion/tests/libsvn_subr/subst_translate-test.c

* subversion/tests/libsvn_wc/conflict-data-test.c

* subversion/tests/libsvn_wc/op-depth-test.c

* subversion/tests/libsvn_wc/wc-test.c

* subversion/tests/svn_test_fs.c

* tools/server-side/fsfs-stats.c

Move the svn_string_private.h include back to the original location.

  1. … 162 more files in changeset.
Implement svn_repos_fs_type() for easy access to repository filesystem type.

* subversion/include/svn_repos.h

* subversion/libsvn_repos/repos.c

(svn_repos_fs_type): New.

* subversion/tests/libsvn_repos/repos-test.c

(test_repos_fs_type): New test for svn_repos_fs_type() function.

(test_funcs): Add test_repos_fs_type.

  1. … 2 more files in changeset.
Fix the #include order such that svn_private_config.h is always

included first before any other svn header - if we also include

svn_hash.h.

* subversion/bindings/javahl/native/org_apache_subversion_javahl_ConfigImpl_Category.cpp,

subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c,

subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c,

subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c,

subversion/libsvn_auth_gnome_keyring/gnome_keyring.c,

subversion/libsvn_client/add.c,

subversion/libsvn_client/cat.c,

subversion/libsvn_client/changelist.c,

subversion/libsvn_client/cleanup.c,

subversion/libsvn_client/commit.c,

subversion/libsvn_client/commit_util.c,

subversion/libsvn_client/copy.c,

subversion/libsvn_client/copy_foreign.c,

subversion/libsvn_client/ctx.c,

subversion/libsvn_client/delete.c,

subversion/libsvn_client/deprecated.c,

subversion/libsvn_client/diff.c,

subversion/libsvn_client/diff_local.c,

subversion/libsvn_client/diff_summarize.c,

subversion/libsvn_client/export.c,

subversion/libsvn_client/externals.c,

subversion/libsvn_client/import.c,

subversion/libsvn_client/info.c,

subversion/libsvn_client/iprops.c,

subversion/libsvn_client/list.c,

subversion/libsvn_client/locking_commands.c,

subversion/libsvn_client/log.c,

subversion/libsvn_client/merge.c,

subversion/libsvn_client/mergeinfo.c,

subversion/libsvn_client/patch.c,

subversion/libsvn_client/prop_commands.c,

subversion/libsvn_client/ra.c,

subversion/libsvn_client/repos_diff.c,

subversion/libsvn_client/resolved.c,

subversion/libsvn_client/revert.c,

subversion/libsvn_client/status.c,

subversion/libsvn_client/switch.c,

subversion/libsvn_client/update.c,

subversion/libsvn_client/util.c,

subversion/libsvn_delta/compat.c,

subversion/libsvn_delta/xdelta.c,

subversion/libsvn_diff/parse-diff.c,

subversion/libsvn_diff/util.c,

subversion/libsvn_fs/access.c,

subversion/libsvn_fs_base/bdb/changes-table.c,

subversion/libsvn_fs_base/bdb/env.c,

subversion/libsvn_fs_base/dag.c,

subversion/libsvn_fs_base/fs.c,

subversion/libsvn_fs_base/lock.c,

subversion/libsvn_fs_base/revs-txns.c,

subversion/libsvn_fs_base/tree.c,

subversion/libsvn_fs_fs/caching.c,

subversion/libsvn_fs_fs/fs_fs.c,

subversion/libsvn_fs/fs-loader.c,

subversion/libsvn_fs_fs/lock.c,

subversion/libsvn_fs_fs/temp_serializer.c,

subversion/libsvn_fs_fs/tree.c,

subversion/libsvn_fs_util/fs-util.c,

subversion/libsvn_ra/compat.c,

subversion/libsvn_ra/deprecated.c,

subversion/libsvn_ra_local/ra_plugin.c,

subversion/libsvn_ra/ra_loader.c,

subversion/libsvn_ra_serf/blame.c,

subversion/libsvn_ra_serf/blncache.c,

subversion/libsvn_ra_serf/commit.c,

subversion/libsvn_ra_serf/getlocations.c,

subversion/libsvn_ra_serf/getlocationsegments.c,

subversion/libsvn_ra_serf/getlocks.c,

subversion/libsvn_ra_serf/inherited_props.c,

subversion/libsvn_ra_serf/log.c,

subversion/libsvn_ra_serf/merge.c,

subversion/libsvn_ra_serf/mergeinfo.c,

subversion/libsvn_ra_serf/options.c,

subversion/libsvn_ra_serf/property.c,

subversion/libsvn_ra_serf/replay.c,

subversion/libsvn_ra_serf/serf.c,

subversion/libsvn_ra_serf/update.c,

subversion/libsvn_ra_serf/util.c,

subversion/libsvn_ra_serf/xml.c,

subversion/libsvn_ra_svn/client.c,

subversion/libsvn_ra_svn/editorp.c,

subversion/libsvn_ra_svn/marshal.c,

subversion/libsvn_repos/authz.c,

subversion/libsvn_repos/commit.c,

subversion/libsvn_repos/delta.c,

subversion/libsvn_repos/deprecated.c,

subversion/libsvn_repos/fs-wrap.c,

subversion/libsvn_repos/hooks.c,

subversion/libsvn_repos/log.c,

subversion/libsvn_repos/replay.c,

subversion/libsvn_repos/reporter.c,

subversion/libsvn_repos/repos.c,

subversion/libsvn_repos/rev_hunt.c,

subversion/libsvn_subr/auth.c,

subversion/libsvn_subr/cmdline.c,

subversion/libsvn_subr/compat.c,

subversion/libsvn_subr/config_auth.c,

subversion/libsvn_subr/config.c,

subversion/libsvn_subr/deprecated.c,

subversion/libsvn_subr/dso.c,

subversion/libsvn_subr/hash.c,

subversion/libsvn_subr/io.c,

subversion/libsvn_subr/mergeinfo.c,

subversion/libsvn_subr/opt.c,

subversion/libsvn_subr/properties.c,

subversion/libsvn_subr/simple_providers.c,

subversion/libsvn_subr/sorts.c,

subversion/libsvn_subr/ssl_client_cert_providers.c,

subversion/libsvn_subr/ssl_client_cert_pw_providers.c,

subversion/libsvn_subr/ssl_server_trust_providers.c,

subversion/libsvn_subr/subst.c,

subversion/libsvn_subr/types.c,

subversion/libsvn_subr/username_providers.c,

subversion/libsvn_subr/utf.c,

subversion/libsvn_subr/win32_crypto.c,

subversion/libsvn_wc/adm_crawler.c,

subversion/libsvn_wc/adm_files.c,

subversion/libsvn_wc/adm_ops.c,

subversion/libsvn_wc/conflicts.c,

subversion/libsvn_wc/copy.c,

subversion/libsvn_wc/deprecated.c,

subversion/libsvn_wc/diff_editor.c,

subversion/libsvn_wc/diff_local.c,

subversion/libsvn_wc/entries.c,

subversion/libsvn_wc/externals.c,

subversion/libsvn_wc/info.c,

subversion/libsvn_wc/lock.c,

subversion/libsvn_wc/node.c,

subversion/libsvn_wc/old-and-busted.c,

subversion/libsvn_wc/props.c,

subversion/libsvn_wc/revert.c,

subversion/libsvn_wc/status.c,

subversion/libsvn_wc/translate.c,

subversion/libsvn_wc/update_editor.c,

subversion/libsvn_wc/upgrade.c,

subversion/libsvn_wc/wc_db.c,

subversion/libsvn_wc/wc_db_update_move.c,

subversion/libsvn_wc/wc_db_wcroot.c,

subversion/libsvn_wc/workqueue.c,

subversion/mod_dav_svn/activity.c,

subversion/mod_dav_svn/deadprops.c,

subversion/mod_dav_svn/lock.c,

subversion/mod_dav_svn/merge.c,

subversion/mod_dav_svn/mod_dav_svn.c,

subversion/mod_dav_svn/reports/update.c,

subversion/mod_dav_svn/repos.c,

subversion/mod_dav_svn/version.c,

subversion/svnadmin/svnadmin.c,

subversion/svnauth/svnauth.c,

subversion/svn/cl-conflicts.c,

subversion/svn/commit-cmd.c,

subversion/svn/conflict-callbacks.c,

subversion/svn/diff-cmd.c,

subversion/svn/help-cmd.c,

subversion/svnlook/svnlook.c,

subversion/svnmucc/svnmucc.c,

subversion/svn/notify.c,

subversion/svn/propedit-cmd.c,

subversion/svn/propget-cmd.c,

subversion/svn/props.c,

subversion/svnrdump/dump_editor.c,

subversion/svnrdump/svnrdump.c,

subversion/svnrdump/util.c,

subversion/svnserve/serve.c,

subversion/svn/status.c,

subversion/svn/status-cmd.c,

subversion/svn/svn.c,

subversion/svnsync/svnsync.c,

subversion/svnsync/sync.c,

subversion/svn/util.c,

subversion/tests/libsvn_fs/fs-test.c,

subversion/tests/libsvn_repos/repos-test.c,

subversion/tests/libsvn_subr/hashdump-test.c,

subversion/tests/libsvn_subr/mergeinfo-test.c,

subversion/tests/libsvn_subr/subst_translate-test.c,

subversion/tests/libsvn_wc/conflict-data-test.c,

subversion/tests/libsvn_wc/op-depth-test.c,

subversion/tests/libsvn_wc/wc-test.c,

subversion/tests/svn_test_fs.c,

tools/dev/fsfs-reorg.c,

tools/server-side/fsfs-stats.c): #include svn_private_config.h first

  1. … 180 more files in changeset.
Follow-up to r1495545: fix a compiler warning.

* subversion/libsvn_repos/repos.c

(fs_upgrade_notify): declare this local function as 'static'

Add progress and cancellation support to 'svnadmin upgrade' down the

whole chain of APIs. Not very complicated - just a bit of code churn.

* subversion/include/svn_fs.h

(svn_fs_upgrade_notify_action_t,

svn_fs_upgrade_notify_t): new FS layer notification types

(svn_fs_upgrade2): rev'ed API, now with notification & cancellation

(svn_fs_upgrade): deprecate

* subversion/libsvn_fs_fs/fs_fs.h

(svn_fs_fs__upgrade): add notification & cancellation parameters

* subversion/libsvn_fs_fs/fs_fs.c

(upgrade_pack_revprops,

upgrade_cleanup_pack_revprops): add notification & cancellation support

(upgrade_baton_t): new aux. data structure

(upgrade_body,

svn_fs_fs__upgrade): pass notification & cancellation params through

* subversion/libsvn_fs/fs-loader.h

(fs_library_vtable_t.upgrade_fs): add notification & cancellation parameters

* subversion/libsvn_fs_fs/fs.c

(fs_upgrade): update; pass new params through

* subversion/libsvn_fs_base/fs.c

(base_upgrade): update; notifiy about format bump

* subversion/libsvn_fs/fs-loader.c

(svn_fs_upgrade2): renamed from svn_fs_upgrade; pass new params through

(svn_fs_upgrade): implement deprecated API in terms of the latest one

* subversion/include/svn_repos.h

(svn_repos_notify_action_t): add corresponding actions from FS layer

(svn_repos_notify_t): update comments

* subversion/libsvn_repos/repos.c

(fs_upgrade_notify_baton_t,

fs_upgrade_notify): new notification utils translating FS layer

notifications to REPOS layer notifications

(svn_repos_upgrade2): configure notification pass-through

* subversion/svnadmin/svnadmin.c

(repos_notify_handler): handle the new actions

  1. … 9 more files in changeset.
Remove the '#ifdef SVN_FS_INFO' guards that hide the svn_fs_info* and

svn_repos_info* family of APIs. All these APIs were developed on trunk,

so their names are not repeated in this log message.

  1. … 6 more files in changeset.