Checkout
 

ehu in subversion

Remove reference to my now decommissioned buildslave from the REDIRECT.
When generating a response to a GET request on the parent path

collection, include symlinks pointing to directories to include

repositories available through symblinks, just like ViewVC does

with its parent path listing.

* subversion/mod_dav_svn/repos.c

(deliver): Extend 'is directory' check for inclusion

in parent path listing to include symlinks-to-directory.

Update e-mail address.
Follow up to r1028279.

* subversion/libsvn_wc/wc_db.c (scan_addition): Fix wrong relpath_depth argument.

Change scan_addition() to take advantage of OP_DEPTH.

* subversion/libsvn_wc/wc_db.c

(scan_addition): Add a SVN_WC__OP_DEPTH conditionalized block.

The new block uses the op_depth field to determine which nodes to

query - instead of all parents, as the old algorithm did.

* subversion/tests/libsvn_wc/db-test.c (TESTING_DATA): Update in accordance

with the expectations of scan_addition()-with-op_depth-support.

* subversion/tests/libsvn_wc/db-test.c (TESTING_DATA): Adjust op_depth value

for 'J/J-d' making it its own op-root. The scan_addition test expects

svn_wc__db_scan_addition() to pick up based on repos_id, but after op_depth

that's no longer true; it'll pick up on the op_depth itself.

Add the op_depth field to STMT_SELECT_WORKING_NODE, to be able to adapt

svn_wc__db_scan_addition() for op_depth.

* subversion/libsvn_wc/wc-queries.sql

(STMT_SELECT_WORKING_NODE): Add op_depth field.

* subversion/libsvn_wc/wc_db.c: Adjust column number references.

* subversion/libsvn_wc/wc_db.c (svn_wc__db_scan_addition): Follow-up to r1026290; don't double reset statement.
* subversion/libsvn_wc/wc_db.c (svn_wc__db_scan_addition): Don't statement upon return.
Add comment, based on feedback from rhuijben.
Add outlines of op_depth related revert tests.

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

(wc_wc_copy): Factor out initialization into ...

(test_wc_wc_copy): ... here, in order to ...

(test_revert): ... reuse wc_wc_copy here. New. Skeleton for revert tests.

* subversion/libsvn_wc/adm_ops.c

(revert_internal): Add comment.

* subversion/libsvn_wc/adm_ops.c

(revert_internal): More safety checks after last week's cleanup.

Fix failure of revert_tests 19.

* subversion/libsvn_wc/adm_ops.c (revert_internal): Check 'unversioned'

before accessing the wc metadata for local_abspath.

* subversion/libsvn_wc/workqueue.c (run_revert): Fix JavaHL test.

Don't recreate missing directories if not 'reinstall_working'.

Fix authz_tests 19, which is failing for svn and http checkouts,

by removing incomplete entries from revision control upon revert.

* subversion/libsvn_wc/adm_ops.c

(revert_internal): Quick-fail on reverting 'incomplete' entries by

removing them from version control.

After carefully dissecting our revert process, eliminate

revert_admin_things() and revert_entry().

* subversion/libsvn_wc/adm_ops.c

(revert_admin_things): Delete and subsume into ...

(revert_entry): ... here. Delete and subsume into ...

(revert_internal): ... here.

Simplify revert processing: all reverts go through revert_admin_things(),

instead of sometimes routing through

svn_wc__internal_remove_from_revision_control() and sometimes through

revert_admin_things().

* subversion/tests/libsvn_wc/revert_tests.py

(status_of_missing_dir_after_revert_replaced_with_history): Adjust

expected output to see only the notification of the op_root,

same as normal/non-replacing adds.

* subversion/libsvn_wc/adm_ops.c

(revert_admin_things): Add revert_root parameter to pass around to

the wc_db functions which need it now.

(revert_entry): Take a revert_root parameter to pass to

revert_admin_things(). Don't use the 'remove from revision control'

APIs anymore for added and copied paths, instead use the

'revert admin things' route for all cases.

(revert_internal): Take a revert_root parameter to pass around.

To mimic svn_wc__internal_remove_from_version_control(), disable

notifications on copy/move-reversals. Like the aforementioned function,

call svn_wc__adm_destroy() after reverting an added (not replaced)

directory.

* subversion/libsvn_wc/workqueue.c

(run_revert): Move decision to call svn_wc__db_temp_op_remove_working()

to svn_wc__wq_add_revert().

(svn_wc__wq_add_revert): Take a revert_root parameter. In the issue #2101

handling, check explicitly for deletes (wich is what the issue is about),

instead of the node type. Implement logic to determine whether

run_revert() should call svn_wc__db_temp_op_remove_working().

* subversion/tests/libsvn_wc/entries-compat.c

(test_access_baton_like_locking): Depth -1 == svn_depth_exclude, however

that's not supported for the client api. Should have been infinity,

looking at the follow-up code.

* subversion/libsvn_wc/workqueue.c (run_revert): More cleaning up.
Remove duplicated 'requires reversal' checks.

* subversion/libsvn_wc/workqueue.c

(svn_wc__wq_add_revert): Reorganize code to do the checks all the way.

(run_revert): Depend on values passed through the skel,

instead of re-doing the entire detection (differently).

Follow up on follow up: fix r1022457.
Follow up to r1022440,1022433: really fix revert after function simplification.
Follow up to r1022433: reorganize code to unbreak the build.
Simplify run_revert: make it look at the db instead of

using generic adm_ops.

* subversion/libsvn_wc/workqueue.c

(run_revert): Check wc_root-ness against the db, instead of the disc.

Make revert remove all ACTUAL_NODE rows that aren't required to stay around.

* subversion/libsvn_wc/wc_db.h

* subversion/libsvn_wc/wc_db.c

(svn_wc__db_op_revert_actual): New.

* subversion/libsvn_wc/wc-queries.sql

(STMT_DELETE_ACTUAL_NODE_WITHOUT_CHANGELIST,

STMT_CLEAR_ACTUAL_NODE_LEAVING_CHANGELIST): New.

* subversion/libsvn_wc/workqueue.c

(run_revert): Change cleanup order and use new svn_wc__db_op_revert().

While in there, clean up an empty if statement.

* subversion/libsvn_wc/adm_ops.c (revert_entry): Remove duplication.
* notes/wc-ng/nodes: Remove TODO item.
* notes/wc-ng/nodes: Add more explanation of how the table works.