Checkout
philip
committed
on 11 Dec 13
In preparation for committing over RA with a specified svn:date,
change the FS implementation from a flag in svn_fs_commit_txn2 to
a flag pa… Show more
In preparation for committing over RA with a specified svn:date,

change the FS implementation from a flag in svn_fs_commit_txn2 to

a flag passed to svn_fs_begin_txn2.

* subversion/include/svn_fs.h

 (SVN_FS_TXN_CLIENT_DATE): New.

 (svn_fs_commit_txn2): Remove.

 (svn_fs_commit_txn): Remove deprecation.

* subversion/libsvn_fs/fs-loader.h

 (struct txn_vtable_t): Remove set_timestamp parameter from commit.

 (SVN_FS__PROP_TXN_CLIENT_DATE): New.

* subversion/libsvn_fs/fs-loader.c

 (svn_fs_commit_txn2): Remove.

 (svn_fs_change_txn_prop, svn_fs_change_txn_props): Drop changes to the

  internal property.

* subversion/libsvn_fs/editor.c

 (svn_fs__editor_commit): Use svn_fs_commit_txn.

* subversion/libsvn_fs_fs/transaction.h

 (svn_fs_fs__commit): Remove set_timestamp parameter.

* subversion/libsvn_fs_fs/transaction.c

 (svn_fs_fs__change_txn_props): Record svn:date change.

 (write_final_revprop): Remove set_timestamp parameter.

 (struct commit_baton): Remove set_timestamp member.

 (commit_body): Update call.

 (svn_fs_fs__commit): Remove set_timestamp parameter.

 (svn_fs_fs__begin_txn): Set new temporary property.

* subversion/libsvn_fs_fs/tree.h

 (svn_fs_fs__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_fs/tree.c

 (svn_fs_fs__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/dag.h

 (svn_fs_base__dag_commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/dag.c

 (svn_fs_base__dag_commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/revs-txns.c

 (svn_fs_base__set_txn_prop): Record svn:date change.

 (txn_body_begin_txn): Set new temporary property.

* subversion/libsvn_fs_base/tree.h

 (svn_fs_base__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_base/tree.c

 (struct commit_args): Remove set_timestamp member.

 (txn_body_commit): Update call.

 (svn_fs_base__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/transaction.h

 (svn_fs_x__commit): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/transaction.c

 (change_txn_props): Record svn:date change.

 (write_final_revprop): Remove set_timestamp parameter.

 (struct commit_baton): Remove set_timestamp member.

 (commit_body): Update call.

 (svn_fs_x__commit): Remove set_timestamp parameter.

 (svn_fs_x__begin_txn): Set new temporary property.

* subversion/libsvn_fs_x/tree.h

 (svn_fs_x__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_fs_x/tree.c

 (svn_fs_x__commit_txn): Remove set_timestamp parameter.

* subversion/libsvn_repos/fs-wrap.c

 (svn_repos_fs_commit_txn): Use svn_fs_commit_txn.

* subversion/libsvn_repos/load-fs-vtable.c

 (new_revision_record): Set SVN_FS_TXN_CLIENT_DATE.

 (close_revision): Use svn_fs_commit_txn.

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

 (commit_timestamp): Set SVN_FS_TXN_CLIENT_DATE, use svn_fs_commit_txn,

  test setting internal property.

* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c

 (upgrade_txns_to_log_addressing): Use svn_fs_commit_txn.

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

 (test_config_pool): Use svn_fs_commit_txn.

Show less