Opening the FSX integration branch

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507845 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: Provide a readme for this branch.

* BRANCH-README: new

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507848 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the patches pertaining to the new
svn_packed__* private API (r1461865,1462837,1463120,1467362,
1469487,1489817) from /branches/fsfs-format7.

A trivial conflict in svn_error_codes.h had to be resolved
as well as tree conflicts related to fsfs-rework.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507856 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the patches pertaining to the new
svn__prefix_string_* private API (rr1498029) from /branches/fsfs-format7.
There were no conflicts.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507857 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the patches pertaining to the new
svn__priority_queue_* private API (r1460579,1462904,1467382 )
from /branches/fsfs-format7. There were no conflicts.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507859 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the new svn_stringbuf_appendfill API (r1489949)
from /branches/fsfs-format7. The addtion of libsvn_fs_fs/reps.* was reverted.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1507999 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the svn_stream__from_spillbuf API change (r1430673)
from /branches/fsfs-format7. Fixed libsvn_fs_base/lock.c to make it compile.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508001 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Copy the FSX code over from the fsfs-format7 branch
and update the glue code as well as the build scripts to enable it.

* subversion/libsvn_fs_x
  (): copy the whole sub-tree from /branches/fsfs-format7@HEAD

* subversion/libsvn_fs_x/tree.c
  (root_vtable): disable the "dir_optimal_order" vtable entry for now
                 because this extension still sits in fsfs-improvements
                 waiting to be reviewed and merged into /trunk

* subversion/include/svn_error_codes.h
  (SVN_ERR_FS_MALFORMED_TXN_ID,
   SVN_ERR_FS_ITEM_INDEX_CORRUPTION,
   SVN_ERR_FS_ITEM_INDEX_REVISION,
   SVN_ERR_FS_ITEM_INDEX_OVERFLOW,
   SVN_ERR_FS_CONTAINER_INDEX,
   SVN_ERR_FS_ITEM_INDEX_INCONSISTENT): declare new error codes

* subversion/include/svn_fs.h
  (SVN_FS_TYPE_FSX): declare new FS type
  (SVN_FS_CONFIG_COMPATIBLE_VERSION): new config variable
  (svn_fs_create): mention the new FS in the docstring
  (svn_fs_fsx_info_t): declare new FS info type

* subversion/libsvn_fs/fs-loader.h
  (svn_fs_x__init): declare new FS init function

* subversion/libsvn_fs/fs-loader.c
  (fsx_defn): register new FS type
  (fsfs_defn): chain the FS definition

* subversion/svnadmin/svnadmin.c
  (cmd_table): 'pack' now makes good use of the "-M" parameter
  (subcommand_create): set SVN_FS_CONFIG_COMPATIBLE_VERSION config variable;
                       disable FSX for pre-1.9 compatibility

* build.conf
  (private-built-includes): filter FSX's rep-cache-db.h as well
  (libsvn_fs_x): declare new target
  (rep_cache): rename target to ...
  (rep_cache_fs_fs): ... this one
  (rep_cache_fs_x): new target
  (fs-libs): add dependency to FSX

* configure.ac
  (SVN_LIBSVN_FS_LINKS_FS_X): new config variable

* subversion/svn_private_config.hw
  (SVN_LIBSVN_FS_LINKS_FS_X): new config variable


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508041 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: update comment. No functional change.

* subversion/svnadmin/svnadmin.c
  (subcommand_create): say "1.9" for 1.9 changes

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508050 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Merge the latest FSX-related tests changes
(r1507729,1507731,1507735,1507736) from branches/fsfs-format7.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508070 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: Copy the remaining tests changes over from the
fsfs-format7 branch and enables FSX tests.

* build.conf
  (fs-pack-test): rename to ...
  (fs-fs-pack-test): ... this one; update file name
  (fs-x-pack-test,
   string-table-test): new test targets
  (__ALL_TESTS__): update; register new tests

* subversion/tests/cmdline/svntest/main.py
  (is_fs_type_fsx): new function

* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
  (test_info): run this FSFS test only on FSFS tests

* subversion/tests/libsvn_fs_fs/fs-pack-test.c: rename to ...
  subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c: ... this

* subversion/tests/libsvn_fs_x
  (): copy over from fsfs-format7

* subversion/tests/svn_test_fs.c
  (maybe_install_fsfs_conf): rename to ...
  (maybe_install_fs_conf): ... this; special case fsfs and fsx alike
  (svn_test__create_fs,
   svn_test__create_repos): update caller

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508077 13f79535-47bb-0310-9956-ffa450edef68
On the fsx-branch:  Rename svn__prefix_string_* API elements
to svn_prefix_string__*.

* subversion/include/private/svn_string_private.h
  (svn__prefix_string_*): rename to ...
  (svn_prefix_string__*): ... this

* subversion/libsvn_subr/prefix_string.c
  (): ditto.

* subversion/libsvn_fs_x/pack.c
  (path_order_t,
   copy_node_to_temp,
   compare_path_order): update user


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508120 13f79535-47bb-0310-9956-ffa450edef68
On the fsx-branch:  Rename svn__priority_queue_* API elements
to svn_priority_queue__*.

* subversion/include/svn_sorts.h
  (svn__priority_queue_*): rename to ...
  (svn_priority_queue__*): ... this

* subversion/libsvn_subr/sorts.c
  (): ditto

* subversion/libsvn_fs_x/pack.c
  (write_l2p_index): update API user

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508122 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: follow-up to r1508120.
Rename svn__prefix_tree_* to svn_prefix_tree__*.

* subversion/include/private/svn_string_private.h
  (svn__prefix_tree_*): rename to ...
  (svn_prefix_tree__*): ... this

* subversion/libsvn_subr/prefix_string.c
  (svn__prefix_tree_*): rename to ...
  (svn_prefix_tree__*): ... this
  (auto_realloc_sub_nodes,
   svn_prefix_string__create): update type references

* subversion/libsvn_fs_x/pack.c
  (pack_context_t,
   initialize_pack_context): update API users

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508439 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: add a test for the svn_prefix_string_* API.

* build.conf
  (prefix-string-test): declare new target
  (__ALL_TESTS__): register new target

* subversion/tests/libsvn_subr/prefix-string-test.c
  (): new file

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508441 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: Fix a bug in svn_prefix_string__expand detected
by the new test code.

* subversion/libsvn_subr/prefix_string.c
  (svn_prefix_string__expand): actually copy data into the target buffer

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508444 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Remove a few unused variables from the test code.

* subversion/tests/libsvn_subr/prefix-string-test.c
  (a, b, c, phrase_1, phrase_2): drop

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508446 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch: constify the input value to of svn_priority_queue__push
to make the API easier to use.

* subversion/include/svn_sorts.h
  (svn_priority_queue__push): accept constant element values

* subversion/libsvn_subr/sorts.c
  (svn_priority_queue__push): update

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508492 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:  Add a test for our priority queues API.

* build.conf
  (priority-queue-test): new target
  (__ALL_TESTS__): register the new target

* subversion/tests/libsvn_subr/priority-queue-test.c
  (): new file

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508496 13f79535-47bb-0310-9956-ffa450edef68
On the fsx branch:

* subversion/tests/libsvn_subr
  (svn:ignore): ignore binaries of new tests

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsx@1508497 13f79535-47bb-0310-9956-ffa450edef68