subversion

Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 869986 is being indexed.

* CHANGES: Note PKCS#11 support in ra_neon.

Pure stylistic fix (Placing the function return type in its own line).

Bump the copyright year.

* subversion/mod_authz_svn/mod_authz_svn.c

Found by: arfrever

* www/svn_1.5_releasenotes.html

(merge-tracking): Make sure to add the "foundational" qualifier to

the title here, as in the table of contents. The description will

go into more detail.

* www/svn_1.5_releasenotes.html: Finish table of contents,

introduction, and repos and wc upgrade sections. Tweak

various other things as well.

* CHANGES: Finish, by pruning, rearranging what was left, and editing.

Merge r29898 from trunk:

* r29898

Improve pool usage.

Votes:

+1: dlr, cmpilato, hwright, rooneg

* STATUS: Nominate r29898 for backport, including votes from dev@.

On the in-memory-cache branch:

Make the directory entries cache use the svn_cache infrastructure.

(And make it bigger, and capable of containing multiple directories

from the same revision.)

Note that I removed the "clear cache on abort" step, which I believe

has been redundant since r29091 (since directories in transactions are

no longer cached).

* subversion/libsvn_fs_fs/fs.c

(dup_ids): Add docstring.

(dup_dir_listing): New; based on copy_dir_entries which used to be

in fs_fs.c

(initialize_fs_struct): Construct dir_cache.

* subversion/libsvn_fs_fs/fs.h

(NUM_DIR_CACHE_ENTRIES, DIR_CACHE_ENTRIES_MASK): Remove.

(struct fs_fs_data_t): Replace dir_cache, dir_cache_id, and

dir_cache_pool arrays with dir_cache (an svn_cache_t).

* subversion/libsvn_fs_fs/fs_fs.c

(copy_dir_entries): Remove.

(svn_fs_fs__rep_contents_dir): Adjust to use svn_cache API.

(svn_fs_fs__abort_txn): Don't clear the cache.

* CHANGES (1.5.0): Complete, based on revisions sweep.

There are still entries here that should probably be removed, but

there shouldn't be any missing entries at this point.

Backport r29900 from trunk into the 1.5.x branch, fixing a segfault

during commits when svn asks for new credentials with the required

write access. 'svn merge' itself uses.

Approved by: +1: lgo, dlr

* STATUS: Vote for r29900, approving.
* STATUS: Nominate r29895 and r29900.
ra_serf: clean the cached realm string on the session after authentication

succeeded, so that we know when the server asks credentials the second time.

Found by: Bert Huijben <b.huijben@competence.biz>

* subversion/libsvn_ra_serf/util.c

(handle_response): reset realm string on session.

* subversion/libsvn_fs_fs/dag.h

(svn_fs_fs__dag_dup_for_cache): Fix docstring.

Use an iteration pool when looking up entry kinds in base_dir_entries.

* subversion/libsvn_fs_base/tree.c

(base_dir_entries): Use an iteration pool instead of putting everything

in our main pool, since nothing we allocate in that loop needs to live any

longer than the loop body. Also fix a typo while I'm here.

Adjust a comment.

* subversion/libsvn_wc/update_editor.c

(add_file_with_history): Don't say "we need to copy working props"

in a block that doesn't do that (since that work was done above).

Suggested by: bhuvan

Pure stylistic fix.

* subversion/mod_authz_svn/mod_authz_svn.c

Found by: dlr

ra_serf: handle error contained in report XML during update to avoid an abort.

* subversion/libsvn_ra_serf/update.c

(finish_report): handle parser error.

* subversion/tests/cmdline/diff_tests.py

(diff_wrong_extension_type): new test to simulate error condition.

(test_list): run the new test, should pass.

*CHANGES: add line about r26364.
Simplified chinese translation update.

* subversion/po/zh_CN.po: Update to r29884.

* CHANGES: Bring up-to-date with trunk.

Simplified chinese translation update.

* subversion/po/zh_CN.po: Rhetorical update.

Simplified chinese translation update.

* subversion/po/zh_CN.po: Translate 2 new fuzzy strings.

Merge more stuff to the in-memory-cache branch, still

using merge tracking.

    • ?
    /branches/in-memory-cache/www/project_tasks.html
    • ?
    /branches/in-memory-cache/subversion/libsvn_client/diff.c
Use svn_cache_* for the FSFS DAG node caches.

In order to do this, we need to allow the transaction node cache to

invalidate all descendents of nodes which are deleted, so we implement

a cache iterator (using the hash iterator infrastructure).

* subversion/include/svn_cache.h

Include svn_iter.h.

(svn_cache_iter): New.

* subversion/libsvn_fs_fs/dag.c

(svn_fs_fs__dag_dup_for_cache): New.

* subversion/libsvn_fs_fs/dag.h

Include svn_cache.h, and not fs.h.

(dag_node_t): Move back here from fs.h (was moved away in r27097).

(svn_fs_fs__dag_dup_for_cache): Declare.

* subversion/libsvn_fs_fs/fs.c

Include dag.h.

(initialize_fs_struct): Create rev node cache as svn_cache_t, not

custom cache.

* subversion/libsvn_fs_fs/fs.h

(dag_node_t): Move back to dag.h.

(struct dag_node_cache_t): Remove.

(struct fs_fs_data_t): Change node cache to svn_cache_t from

custom cache fields.

* subversion/libsvn_fs_fs/tree.c

(TXN_NODE_CACHE_MAX_KEYS, REV_NODE_CACHE_MAX_KEYS): Remove.

(fs_txn_root_data_t): Change node cache to svn_cache_t from

custom cache fields.

(make_txn_root): Change to error-throwing; create cache as

svn_cache_t.

(locate_cache): Adjust; make return arguments optional.

(dag_node_cache_get, dag_node_cache_set, dag_node_cache_invalidate):

Change to error-throwing; use svn_cache API instead of custom code.

(struct fdic_baton, find_descendents_in_cache): New (for

dag_node_cache_invalidate).

(svn_fs_fs__txn_root, open_path, make_path_mutable, get_dag,

fs_make_dir, fs_delete_node, copy_helper, fs_make_file): Adjust.

* subversion/libsvn_subr/cache.c

(struct cache_iter_baton, iter_cb, svn_cache_iter): New.

    • ?
    /branches/in-memory-cache/subversion/libsvn_fs_fs/tree.c
Merge r29883 from trunk:

* r29883

Update help text for 'svn merge'.

Votes:

+1: hwright, dlr

Use svn_cache_* for FSFS's rev root ID cache.

* subversion/libsvn_fs_fs/fs.c

Include id.h.

(dup_ids): New.

(initialize_fs_struct): Make error-returning; use svn_cache_create

to create the cache instead of a hash and a pool.

(fs_create, fs_open, fs_upgrade): Adjust.

* subversion/libsvn_fs_fs/fs.h

Include svn_cache.h.

(NUM_RRI_CACHE_ENTRIES): Remove.

(struct fs_fs_data_t): Replace rev_root_id_cache hash and its pool

with an svn_cache_t.

* subversion/libsvn_fs_fs/fs_fs.c

(svn_fs_fs__rev_get_root): Replace custom cache code with calls

to svn_cache_get and svn_cache_set.

    • ?
    /branches/in-memory-cache/subversion/libsvn_fs_fs/fs_fs.c
* STATUS: Nominate r2983, and add dlr's vote (via email).

* CHANGES (1.5.0): Add a couple of items caught during the revisions

sweep, which is still going on, and make some consistency tweaks.

* subversion/svn/main.c

(svn_cl__cmd_table): Follow up to r29763 by updating the 'svn merge' help

text.