- r995407: 2010-09-09 12:51:37 [philip] Philip Martin
-
/subversion/libsvn_wc/copy.c [diff, log, file]
* subversion/libsvn_wc/copy.c.c
(copy_versioned_dir, svn_wc_copy3): Remove conditional multi-db code.
- r995363: 2010-09-09 09:42:32 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Make upgrade rerunnable after an interrupt without needing to use
pre-1.7 for cleanup.
* subversion/libsvn_wc/upgrade.c
(upgrade_to_wcng): Delete any previous partial upgrade.
- r995357: 2010-09-09 09:16:45 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
/subversion/tests/cmdline/upgrade_tests.py [diff, log, file]
Fix upgrade_tests.py 12.
* subversion/libsvn_wc/upgrade.c
(svn_wc__wipe_postupgrade): Handle an unversioned directory obstructing
a versioned directory.
(upgrade_working_copy): Handle an unversioned directory obstructing a
versioned directory, destroy iterpool when skipping, remove unneeded
comments.
* subversion/tests/cmdline/upgrade_tests.py
(missing_dirs2): Verify status.
(test_list): Remove XFail mark.
- r995183: 2010-09-08 18:34:20 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
/subversion/libsvn_wc/wc.h [diff, log, file]
/subversion/libsvn_wc/workqueue.c [diff, log, file]
/subversion/libsvn_wc/workqueue.h [diff, log, file]
Make interrupting the upgrade of a pre-1.7 working copy leave the
working copy in a working state.
* subversion/libsvn_wc/wc.h
(svn_wc__wipe_postupgrade): New.
* subversion/libsvn_wc/upgrade.c
(): Include workqueue.h.
(svn_wc__wipe_postupgrade): New.
(upgrade_to_wcng): Put temporary db in .svn/tmp, don't remove old metadata.
(svn_wc_upgrade): Add wq items and run the wq, close and reopen
db handle rather than droping the root.
* subversion/libsvn_wc/workqueue.h
(svn_wc__wq_build_postupgrade): New.
* subversion/libsvn_wc/workqueue.c
(OP_POSTUPGRADE, run_postupgrade, svn_wc__wq_build_postupgrade): New.
(dispatch_table): Add OP_POSTUPGRADE.
- r994957: 2010-09-08 09:59:22 [philip] Philip Martin
-
/subversion/include/private/svn_dep_compat.h [diff, log, file]
/subversion/libsvn_repos/reporter.c [diff, log, file]
Followup to r993425, compatibility with older APR.
* subversion/include/private/svn_dep_compat.h
(APR_SIZE_MAX): Define for older APR.
* subversion/libsvn_repos/reporter.c: Remove APR_SIZE_MAX definition,
include svn_dep_compat.h
- r993281: 2010-09-07 08:47:11 [philip] Philip Martin
-
/subversion/include/private/svn_dep_compat.h [diff, log, file]
/subversion/libsvn_subr/svn_string.c [diff, log, file]
Followup to r993183, compatibility with older APR.
* subversion/include/private/svn_dep_compat.h
(APR_UINT32_MAX, APR_INT32_MAX, APR_INT32_MIN,
APR_UINT64_MAX, APR_INT64_MAX, APR_INT64_MIN): Define for older APR.
* subversion/libsvn_subr/svn_string.c: Include svn_dep_compat.h.
- r992343: 2010-09-03 15:58:28 [philip] Philip Martin
-
/subversion/tests/cmdline/externals_tests.py [diff, log, file]
Add an XFail regression test for a file external bug.
* subversion/tests/cmdline/externals_tests.py
(update_modify_file_external): New.
(test_list): Mark update_modify_file_external XFail.
- r992024: 2010-09-02 17:14:49 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Make upgrade a bit more user friendly.
* subversion/libsvn_wc/upgrade.c
(upgrade_working_copy): Skip if this dir is later than 1.6.
(svn_wc_upgrade): Include path in error message.
- r992019: 2010-09-02 16:55:45 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Remove some unused upgrade code.
* subversion/libsvn_wc/upgrade.c
(get_versioned_subdirs): Remove db parameter, only support 1.6 wc.
(upgrade_working_copy): Adjust format check to only support 1.6 wc.
- r992009: 2010-09-02 16:34:29 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
* subversion/libsvn_wc/upgrade.c
(upgrade_to_wcng, svn_wc_upgrade: Remove SVN_WC__SINGLE_DB conditional
code.
- r992007: 2010-09-02 16:28:32 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Implement pre-1.7 working copy root check for upgrade.
* subversion/libsvn_wc/upgrade.c
(is_old_wcroot): New.
(svn_wc_upgrade): Check path is a working copy root.
- r991631: 2010-09-01 18:11:34 [philip] Philip Martin
-
/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java [diff, log, file]
/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java [diff, log, file]
Fix javahl testBasicRevert by adjusting the expected outcome to match
the new single-db behaviour.
* subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
* subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java
(testBasicRevert): Children of a deleted/removed directory show up as
status deleted, revert restores the tree.
- r991599: 2010-09-01 16:46:10 [philip] Philip Martin
-
/subversion/tests/cmdline/merge_tests.py [diff, log, file]
Fix merge_tests 29. When merge adds a directory its children no longer
show as status 'A', and so when committing such a directory the children
are no longer explicitly added. So the status output has changed but it's
doing the right thing and so should be a PASS.
* subversion/tests/cmdline/merge_tests.py
(merge_dir_replace): Adjust expected outputs.
(test_list): Mark merge_dir_replace PASS.
- r991534: 2010-09-01 13:38:51 [philip] Philip Martin
-
/subversion/tests/cmdline/svntest/sandbox.py [diff, log, file]
Fix some transient authz failures when running the dav tests in parallel.
* subversion/tests/cmdline/svntest/sandbox.py
(Sandbox._set_name): Use an atomic operation to update the authz file.
- r991262: 2010-08-31 17:06:45 [philip] Philip Martin
-
/tools/dev/wc-ng/bump-to-19.py [diff, log, file]
Make bump-to-19.py only descend into versioned subdirs.
* subversion/tools/dev/bump-to-19.py
(STMT_SELECT_SUBDIR, select_subdir): New.
(migrate_wc_subdirs): Skip directories that are not versioned subdirs.
- r991225: 2010-08-31 15:58:55 [philip] Philip Martin
-
/subversion/tests/cmdline/stat_tests.py [diff, log, file]
Make stat_tests.py 6 pass for single-db. In single-db status shows
children of obstructed directories.
* subversion/tests/cmdline/stat_tests.py
(status_type_change_to_symlink): Adjust expected output.
- r991192: 2010-08-31 13:52:37 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Allow single-db upgrade to complete on Windows.
* subversion/libsvn_wc/upgrade.c
(svn_wc_upgrade): Close the db handle.
- r991160: 2010-08-31 11:50:01 [philip] Philip Martin
-
/subversion/libsvn_wc/entries.c [diff, log, file]
/subversion/libsvn_wc/entries.h [diff, log, file]
/subversion/libsvn_wc/upgrade.c [diff, log, file]
Make single-db upgrades write to a temporary admin directory. This is
a work-in-progress and the code is ugly, but it passes the tests.
* subversion/libsvn_wc/entries.h
(svn_wc__write_upgraded_entries): Rename two parameters.
* subversion/libsvn_wc/entries.c
(entries_write_baton): Rename two members.
(entries_write_new_cb): Adjust relpath calculation to handle
temporary admin dir.
(svn_wc__write_upgraded_entries): Rename two parameters.
* subversion/libsvn_wc/upgrade.c
(migrate_node_props, migrate_props): Rename a parameter, adjust relpath
calculation.
(migrate_text_bases): Rename a parameter for consistency with other
functions.
(upgrade_to_wcng): Construct db in temporary dir.
(svn_wc_upgrade): Move db and pristine to final location.
- r990119: 2010-08-27 12:02:08 [philip] Philip Martin
-
/subversion/tests/cmdline/upgrade_tests.py [diff, log, file]
/subversion/tests/cmdline/upgrade_tests_data/missing-dirs.tar.bz2 [log, file]
Add two tests for 1.6-to-wcng upgrade with missing directories.
* subversion/tests/cmdline/upgrade_tests.py
(missing_dirs, missing_dirs2): New.
(test_list): Add new tests, missing_dirs2 is XFail.
* subversion/tests/cmdline/upgrade_tests_data/missing-dirs.tar.bz2: New
- r989108: 2010-08-25 13:53:27 [philip] Philip Martin
-
/subversion/libsvn_ra_local/ra_plugin.c [diff, log, file]
Stop writing to pool memory after the pool has been cleared, something
that started to happen when svn_ra_open4 introduced a session pool. The
problem was identified by valgrind.
* subversion/libsvn_ra/ra_plugin.c
(get_username): Use the session pool to allocate the svn_fs_access_t and
to setup the pool cleanup.
- r989063: 2010-08-25 12:29:32 [philip] Philip Martin
-
/subversion/libsvn_wc/update_editor.c [diff, log, file]
Followup to r988956. Bert suggests that using TRUE to ensure we
check for conflicts is better.
* subversion/libsvn_wc/update_editor.c
(add_directory, add_file): Set conflicted on SVN_ERR_WC_PATH_NOT_FOUND.
- r988978: 2010-08-25 10:20:16 [philip] Philip Martin
-
/subversion/libsvn_wc/update_editor.c [diff, log, file]
* subversion/libsvn_wc/update_editor.c
(locate_copyfrom): Don't ignore and leak an error.
- r988956: 2010-08-25 09:55:35 [philip] Philip Martin
-
/subversion/libsvn_wc/update_editor.c [diff, log, file]
Fix some uses of unitialised variables identified by valgrind.
* subversion/libsvn_wc/update_editor.c
(add_directory, add_file): Set conflicted if svn_wc__db_read_info fails.
- r988550: 2010-08-24 14:13:26 [philip] Philip Martin
-
/subversion/libsvn_wc/entries.c [diff, log, file]
/subversion/tests/cmdline/upgrade_tests.py [diff, log, file]
Fix upgrade_tests.py 7 in single-db.
* subversion/libsvn_wc/entries.c
(insert_working_node): Don't force kind to subdir.
(write_entry): Make working_node subdirs incomplete initially.
* subversion/tests/cmdline/upgrade_tests.py
(basic_upgrade_1_0): Check pristines after upgrade.
- r988460: 2010-08-24 10:03:07 [philip] Philip Martin
-
/subversion/libsvn_wc/upgrade.c [diff, log, file]
/subversion/libsvn_wc/wc_db.c [diff, log, file]
/subversion/libsvn_wc/wc_db.h [diff, log, file]
Fix upgrade_tests.py 6 in single-db, handle the dav cache.
* subversion/libsvn_wc/wc_db.h
(svn_wc__db_upgrade_apply_dav_cache): Add dir_relpath parameter.
* subversion/libsvn_wc/wc_db.c
(svn_wc__db_upgrade_apply_dav_cache): Add dir_relpath parameter, construct
full relpath.
* subversion/libsvn_wc/upgrade.c
(upgrade_to_wcng): Pass dir_relpath.