Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove 'svn obliterate' related code.

* subversion/libsvn_ra/ra_loader.h,

subversion/libsvn_ra/ra_loader.c

(svn_ra__vtable_t, svn_ra__obliterate_path_rev):

Remove obliterate related code.

* subversion/libsvn_fs/fs-loader.h,

subversion/libsvn_fs/fs-loader.c

(fs_vtable_t, svn_fs__begin_obliteration_txn,

svn_fs__commit_obliteration_txn): Remove obliterate related code.

* subversion/svn/cl.h,

subversion/svn/main.c

(svn_opt_subcommand_t, svn_cl__cmd_table): Remove obliterate related code.

* subversion/libsvn_ra_local/ra_plugin.c,

subversion/libsvn_ra_svn/client.c,

subversion/libsvn_ra_neon/session.c,

subversion/libsvn_ra_serf/serf.c

(svn_ra_local__obliterate_path_rev, ra_local_vtable, ra_svn_vtable,

neon_vtable, serf_vtable): Remove obliterate related code.

* subversion/libsvn_fs_base/tree.h,

subversion/libsvn_fs_base/tree.c,

subversion/libsvn_fs_base/reps-strings.h,

subversion/libsvn_fs_base/reps-strings.c,

subversion/libsvn_fs_base/dag.h,

subversion/libsvn_fs_base/dag.c,

subversion/libsvn_fs_base/revs-txns.c,

subversion/libsvn_fs_base/revs-txns.h,

subversion/libsvn_fs_base/fs.c

(svn_fs_base__commit_obliteration_txn, svn_fs_base__obliterate_rep,

txn_body_commit_obliteration, txn_body_obliterate_rep,

svn_fs_base__rep_obliterate, svn_fs_base__dag_commit_obliteration_txn,

svn_fs_base__dag_obliterate_rep, svn_fs_base__begin_obliteration_txn,

txn_vtable, txn_body_begin_obliteration_txn, fs_vtable,

node_origins_update, copies_update, changes_dup):

Remove obliterate related code.

* subversion/include/private/svn_client_private.h,

subversion/include/private/svn_repos_private.h,

subversion/include/private/svn_ra_private.h,

subversion/include/private/svn_fs_private.h

(svn_client__obliterate_path_rev, svn_repos__obliterate_path_rev,

svn_repos__pre_obliterate_hook, svn_repos__post_obliterate_hook,

svn_ra__obliterate_path_rev, svn_fs__begin_obliteration_txn,

svn_fs__commit_obliteration_txn): Remove obliterate related code.

* subversion/libsvn_repos/repos.h,

subversion/libsvn_repos/repos.c,

subversion/libsvn_repos/hooks.c

(svn_repos__hooks_pre_obliterate, svn_repos__hooks_post_obliterate,

create_hooks, check_hook_result): Remove obliterate related code.

* subversion/libsvn_fs_fs/tree.h,

subversion/libsvn_fs_fs/tree.c,

subversion/libsvn_fs_fs/fs_fs.h,

subversion/libsvn_fs_fs/fs_fs.c,

subversion/libsvn_fs_fs/fs.c

(svn_fs_fs__commit_obliteration_txn, svn_fs_fs__commit_obliteration,

svn_fs_fs__begin_obliteration_txn, txn_vtable,

svn_fs_fs__create_obliteration_txn, commit_obliteration_body,

svn_fs_fs__commit_obliteration, svn_fs_fs__begin_obliteration_txn,

fs_vtable): Remove obliterate related code.

* subversion/svn/obliterate-cmd.c,

subversion/libsvn_client/obliterate.c,

subversion/libsvn_repos/obliterate.c,

subversion/libsvn_fs_base/obliterate.h,

subversion/libsvn_fs_base/obliterate.c,

subversion/tests/cmdline/obliterate_tests.py

Remove obliterate related files.

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

subversion/tests/cmdline/svntest/objects.py

(obliterate_1, test_funcs, SvnRepository.obliterate_node_rev):

Remove obliterate related test.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>

  1. … 38 more files in changeset.
From Philip Martin's "obliterate-like-deltify" branch, bring in a new kind

of obliterate function which obliterates the changes made by a particular

rep. This is here to experiment with; there are no calls to it yet.

* subversion/libsvn_fs_base/dag.c,

subversion/libsvn_fs_base/dag.h

(svn_fs_base__dag_obliterate_rep): New function, renamed from the

function svn_fs_base__dag_obliterate() on the branch.

* subversion/libsvn_fs_base/reps-strings.c,

subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__rep_obliterate): New function.

* subversion/libsvn_fs_base/tree.c

(txn_obliterate_rep_args): New struct.

(txn_body_obliterate_rep, svn_fs_base__obliterate_rep): New functions.

  1. … 4 more files in changeset.
Fix up some comments.

* subversion/libsvn_fs_base/dag.c

(svn_fs_base__dag_finalize_edits): Fix typos.

* subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__get_mutable_rep): Clarify.

* subversion/libsvn_fs_base/revs-txns.c

(get_txn): Correct a mistake.

* subversion/libsvn_fs_base/tree.c

(svn_fs_base__commit_obliteration_txn): Add some useful comments and

remove an obsolete one.

* subversion/libsvn_ra_local/ra_plugin.c

(svn_ra_local__obliterate_path_rev): Add a cross-reference to where the

doc string can be found.

* subversion/libsvn_ra/ra_loader.h

(svn_ra__vtable_t): Add a cross-reference to where the doc string can be

found.

  1. … 5 more files in changeset.
Test out my new and fancy ASF commit priviledges by changing the copyright

wording in our license headers to reflect ownership by the ASF.

* NOTICE:

Change terminology to ASF, and update a link.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the ASF, and update the project website.

* everywhere:

Change license text to reflect ASF ownership.

  1. … 891 more files in changeset.
Relicense Subversion under the Apache License, Version 2.0.

* NOTICE: New.

* LICENSE: New.

* COPYING,

subversion/LICENSE: Remove.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the SVN Corp, and that it contains contributions from

many people, as referenced in NOTICE.

* subversion/bindings/swig/python/LICENSE_FOR_PYTHON_BINDINGS:

Relicense the SVN parts under Apache 2.0.

* everywhere:

Change copyright notices in file headers to reflect the Apache 2.0 license.

  1. … 882 more files in changeset.
Follow-up to r35017:

Allow to specify Berkeley DB header.

(It allows to build libsvn_fs_base when APR-Util isn't built with support for Berkeley DB.)

* build/ac-macros/berkeley-db.m4

(SVN_LIB_BERKELEY_DB, SVN_LIB_BERKELEY_DB_TRY): Allow to specify Berkeley DB

header in argument of the '--with-berkeley-db' option. Add conditional

inclusion of Berkeley DB header to 'subversion/svn_private_config.h'.

* configure.ac: Substitute '@SVN_DB_HEADER@' with appropriate value

in 'subversion/svn_private_config.h'.

* subversion/svn_private_config.hw: Include Berkeley DB header when

SVN_WANT_BDB is defined.

* subversion/libsvn_fs_base/bdb/bdb_compat.h:

* subversion/libsvn_fs_base/bdb/bdb-err.c:

* subversion/libsvn_fs_base/bdb/changes-table.h:

* subversion/libsvn_fs_base/bdb/dbt.c:

* subversion/libsvn_fs_base/bdb/dbt.h:

* subversion/libsvn_fs_base/bdb/env.h:

* subversion/libsvn_fs_base/bdb/nodes-table.h:

* subversion/libsvn_fs_base/bdb/reps-table.h:

* subversion/libsvn_fs_base/bdb/rev-table.h:

* subversion/libsvn_fs_base/bdb/strings-table.h:

* subversion/libsvn_fs_base/bdb/uuids-table.h:

* subversion/libsvn_fs_base/fs.c:

* subversion/libsvn_fs_base/fs.h:

* subversion/libsvn_fs_base/node-rev.c:

* subversion/libsvn_fs_base/node-rev.h:

* subversion/libsvn_fs_base/reps-strings.c:

* subversion/libsvn_fs_base/reps-strings.h:

* subversion/libsvn_fs_base/revs-txns.h:

* subversion/libsvn_fs_base/trail.c:

* subversion/libsvn_fs_base/trail.h:

* subversion/libsvn_fs_base/util/fs_skels.h: Define SVN_WANT_BDB and

include "svn_private_config.h" instead of defining APU_WANT_DB and

including <apu_want.h>.

  1. … 23 more files in changeset.
Teach the Berkeley DB backend to store both MD5 and SHA1 checksums -- as

available and allowed for the FS format -- in the `representations' table.

* subversion/libsvn_fs_base/notes/structure

(Representations): Tweak BNF to show that we'll always store MD5,

and possibly also store SHA1, for representations.

* subversion/libsvn_fs/fs-loader.h,

* subversion/libsvn_fs/fs-loader.c

(root_vtable_t): Add 'kind' parameter to file_checksum() method,

passed into providers' file_checksum implementations.

* subversion/libsvn_fs_fs/tree.c

(fs_file_checksum): Add 'kind' parameter, and use it to filter the

returned data.

* subversion/libsvn_fs_base/fs.h

(representation_t): Rename 'checksum' member to 'md5_checksum', and

add 'sha1_checksum' member.

* subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__rep_contents_checksums): Was

svn_fs_base__rep_contents_checksum(). Rename 'checksum' parameter

to 'md5_checksum', and add 'sha1_checksum' parameter.

* subversion/libsvn_fs_base/reps-strings.c

(svn_fs_base__rep_contents_checksums): Was

svn_fs_base__rep_contents_checksum(). Rename 'checksum' parameter

to 'md5_checksum', and add 'sha1_checksum' parameter.

(make_fulltext_rep): Rename 'checksum' parameter to 'md5_checksum',

and add 'sha1_checksum' parameter, duping both.

(svn_fs_base__get_mutable_rep): Update call to make_fulltext_rep.

(txn_body_read_rep): Compare both MD5 and SHA1 checksums against

their stored values where possible.

(svn_fs_base__rep_contents): Allow checksum tests of either type of

checksum, but prefer a SHA1 comparison.

(struct rep_write_baton): Rename 'checksum_ctx' and 'checksum' to

'md5_checksum_ctx' and 'md5_checksum', respective; add

'sha1_checksum_ctx' and 'sha1_checksum'.

(rep_write_get_baton): Track renamed baton members, and also

initialize an MD5 checksum context.

(txn_body_write_rep): Update both checksum contexts.

(txn_body_write_close_rep): Copy both checksum contexts into the

representation.

(rep_write_close_contents): Finalize both checksum contexts.

(rep_contents_clear): Clear both representation checksums.

(svn_fs_base__rep_deltify): Use both representation checksums.

* subversion/libsvn_fs_base/dag.h

(svn_fs_base__dag_file_checksum): Add 'checksum_kind' parameter.

* subversion/libsvn_fs_base/dag.c

(svn_fs_base__dag_file_checksum): Add 'checksum_kind' parameter, and

update call to svn_fs_base__rep_contents_checksums().

(maybe_store_checksum_rep): Update call to

svn_fs_base__rep_contents_checksums().

(svn_fs_base__dag_finalize_edits): Update calls to

svn_fs_base__rep_contents_checksums(), performing checksum

comparisons against either MD5 or SHA1 as requested (if possible).

* subversion/libsvn_fs_base/tree.c

(struct file_checksum_args): Add 'kind' variable.

(txn_body_file_checksum): Pass baton's 'kind' into updated call to

svn_fs_base__dag_file_checksum().

(base_file_checksum): Add 'kind' parameter, and use it to populate

baton's 'kind' variable.

(txn_body_apply_textdelta): Update call to svn_fs_base__dag_file_checksum(),

asking for the same kind of checksum as the one we'll compare against.

* subversion/libsvn_fs_base/util/fs_skels.h

(svn_fs_base__unparse_representation_skel): Add 'format' parameter.

* subversion/libsvn_fs_base/util/fs_skels.c

(is_valid_representation_skel, svn_fs_base__parse_representation_skel):

Handle new representation format.

(prepend_checksum): New helper function.

(svn_fs_base__unparse_representation_skel): Add 'format' parameter,

and use prepend_checksum() as needed to handle the new

representation skel format.

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

(svn_fs_bdb__write_rep): Pass filesystem format version to updated

call to svn_fs_base__unparse_representation_skel().

* subversion/tests/libsvn_fs_base/strings-reps-test.c

(txn_body_read_rep): Update call to svn_fs_base__unparse_representation_skel.

  1. … 13 more files in changeset.
Fix a few doc strings in followup to r32527. Also, remove a redundant

return statement.

Suggested by: gstein

* subversion/libsvn_fs_base/dag.h

(svn_fs_base__dag_file_checksum): Note that the "default" checksum is NULL.

* subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__rep_contents_checksum): Same.

* subversion/include/svn_fs.h

(svn_fs_file_checksum): Add since tag. Note that the prerecorded checksum

must be of the requested kind to be used.

* subversion/libsvn_fs_fs/tree.c

(fs_file_checksum): Remove redundant return statement.

  1. … 3 more files in changeset.
More merging from the fs-rep-sharing branch. This time, merge bits of

the following revisions: r28976, r29040, r30035, r30651, r30784, r30788,

r30789, r30813, r30822, r30846, r30866, r31092, r31106, r31113.

This converts libsvn_fs_base to use the svn_checksum_t data type where

applicable.

  1. … 18 more files in changeset.
Remove function declaration for svn_fs_base__rep_undeltify whose

actual function was removed in r7504 way back when it was

still named svn_fs__rep_undeltify. Note that we diligently added a

pool parameter to the declaration in r13207 just 'cause we're that

kind of crowd.

* subversion/libsvn_fs/reps-strings.h (svn_fs_base__rep_undeltify):

Really *really* remove this time.

Reformat the code to use a consistent no-space-before-param-list-paren style.

See here for the vote that decided this:

http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=111877

From: "Peter N. Lundblad" <peter@famlundblad.se>

To: "Peter N. Lundblad" <peter@famlundblad.se>

cc: dev@subversion.tigris.org

Subject: Results of: [VOTE] New space-before-parens style

Date: Wed, 8 Feb 2006 12:00:35 +0100 (CET)

Message-ID: <Pine.LNX.4.55.0602080918350.10805@localhost.localdomain>

I took the opportunity to make spacing among all parens in SVN_ERR

macro calls consistent. But I did not address consistency of casts,

nor whether a function name should always appear below its return type

in declarations and definitions, nor whether there should be a space

before/after the "*" when declaring pointer return types.

* www/hacking.html

(coding-style): Document that we are no-space-before-paren now.

* everywhere: Reformat.

  1. … 365 more files in changeset.
Finish (as far as I can tell) making all the libsvn_fs_base functions

which accept trail_t's, but which are not txn_body_* functions, also

accept pool parameters. Generally speaking, txn_body_* callers of

these functions pass their trail->pool for this new parameter; other

functions pass the pools directly provided to them.

* subversion/libsvn_fs_base/node-rev.h,

subversion/libsvn_fs_base/node-rev.c

(svn_fs_base__create_node, svn_fs_base__create_successor,

svn_fs_base__delete_node_revision): Add 'pool' parameter.

* subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__get_mutable_rep, svn_fs_base__rep_deltify,

svn_fs_base__delete_rep_if_mutable, svn_fs_base__rep_contents_size,

svn_fs_base__rep_contents_checksum, svn_fs_base__rep_contents,

svn_fs_base__rep_deltify, svn_fs_base__rep_undeltify): Add 'pool' parameter.

* subversion/libsvn_fs_base/reps-strings.c

(rep_undeltify_range, rep_read_range, svn_fs_base__get_mutable_rep,

svn_fs_base__delete_rep_if_mutable, svn_fs_base__rep_contents_size,

svn_fs_base__rep_contents_checksum, svn_fs_base__rep_contents_checksum,

txn_body_read_rep, rep_write, txn_body_write_rep, txn_body_write_close_rep,

rep_contents_clear, svn_fs_base__rep_deltify): Add 'pool' parameter.

(delete_strings): Add 'pool' parameter, and use an iteration subpool.

* subversion/libsvn_fs_base/revs-txns.h

(svn_fs_base__rev_get_root, svn_fs_base__rev_get_txn_id,

svn_fs_base__set_rev_prop, svn_fs_base__txn_make_committed,

svn_fs_base__txn_get_revision, svn_fs_base__get_txn_ids,

svn_fs_base__set_txn_root, svn_fs_base__add_txn_copy,

svn_fs_base__set_txn_base, svn_fs_base__set_txn_prop): Add 'pool' parameter.

* subversion/libsvn_fs_base/revs-txns.c

(get_txn, get_rev_txn, svn_fs_base__rev_get_root,

svn_fs_base__rev_get_txn_id, txn_body_youngest_rev,

txn_body_revision_proplist, svn_fs_base__set_rev_prop,

txn_body_change_rev_prop, svn_fs_base__txn_make_committed,

svn_fs_base__txn_get_revision, svn_fs_base__get_txn_ids,

svn_fs_base__set_txn_root, svn_fs_base__set_txn_base,

svn_fs_base__add_txn_copy, txn_body_txn_proplist,

svn_fs_base__set_txn_prop, txn_body_change_txn_prop,

txn_body_begin_txn, txn_body_open_txn, txn_body_cleanup_txn,

txn_body_cleanup_txn_copy, txn_body_cleanup_txn_changes,

txn_body_get_dirents, txn_body_remove_node, txn_body_delete_txn,

txn_body_abort_txn, txn_body_list_transactions): Add 'pool' parameter.

* subversion/libsvn_fs_base/tree.c

(root_node, mutable_root_node, get_copy_inheritance, open_path,

make_path_mutable, get_dag, add_change, id_check_ancestor,

update_ancestry, undelete_change, examine_copy_inheritance,

merge): Add 'pool' parameter.

  1. … 8 more files in changeset.
Merge the changes from the fs-abstraction branch. This allows the

libsvn_fs_fs filesystem to sit alongside the old BDB filesystem in the

same executable.

  1. … 89 more files in changeset.