Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove the 'message' argument from the test suite's run_and_verify_*()

functions, because it is largely pointless.

Enough context information is available by other means, and it wasn't being

displayed for stdout mismatch which is the most common failure mode but only

for exit-code mismatch, and most callers pass 'None' anyway. It cluttered

the call sites.

* subversion/tests/cmdline/svntest/actions.py

(run_and_verify_atomic_ra_revprop_change,

run_and_verify_svnlook, run_and_verify_svnlook2,

run_and_verify_svnadmin, run_and_verify_svnadmin2,

run_and_verify_svnversion, run_and_verify_svnversion2,

run_and_verify_svn, run_and_verify_svn2,

run_and_verify_svnmucc, run_and_verify_svnmucc2,

run_and_verify_atomic_ra_revprop_change,

run_and_verify_svnauthz,

run_and_verify_log_xml): Remove 'message' parameter.

(guarantee_greek_repository,

run_and_verify_dump): Adjust calls.

* subversion/tests/cmdline/svntest/*.py

Adjust calls.

* subversion/tests/cmdline/*_tests.py

Adjust calls.

  1. … 58 more files in changeset.
Duct tape a test that broke the build.

* subversion/tests/cmdline/cat_tests.py

(cat_skip_uncattable): Hack in the logic that run_and_verify_svn2() already

does. For some reason this test doesn't use it :(

Fix up some erroneous "Could not frob some targets because..." warnings.

E.g. 'svn add existing-versioned-file' would report "Could not add some

targets because some targets don't exist" -- which is obviously bogus.

The warnings reported are now more precise, and can contain multiple

reasons. E.g. 'svn cat' reports both nonexistent targets and targets

which are directories in its "Could not cat all targets because ..."

messages.

* subversion/tests/cmdline/cat_tests.py

(cat_skip_uncattable): Adjust expected warnings.

* subversion/svn/cl.h, subversion/svn/util.c

(svn_cl__try): Instead of returning a single boolean SUCCESS, return

the list ERRORS_SEEN, which contains all ignored error codes which

appear in the varargs list and were returned as part of the ERR chain.

* subversion/svn/add-cmd.c

(svn_cl__add): Check all errors reported back from svn_cl__try(),

and print a proper warning message for each.

* subversion/svn/cat-cmd.c

(svn_cl__cat): As previous.

* subversion/svn/proplist-cmd.c

(svn_cl__proplist): As previous, and also fix up warnings to say

"display properties" instead of "display info" (probably a copy-paste

from info-cmd.c when these messages were originally added).

* subversion/svn/changelist-cmd.c

(svn_cl__changelist): As previous, but fix up warnings to say "display

changelist" instead of "display info".

  1. … 6 more files in changeset.
The semi-annual trailing whitespace cleansing ritual.

* everywhere:

for extsn in c h cpp java py pl rb; do

sed -i -e 's/[ \t]*$//' `find . -name "*.$extsn" | xargs grep '[ \t]$' -l`

done

  1. … 144 more files in changeset.
Fix cmdline tests when configured without --enable-maintainer-mode.

* subversion/tests/cmdline/cat_tests.py

(cat_skip_uncattable): Ignore additional lines of output from

error reporting in maintainer mode.

* subversion/tests/cmdline/basic_tests.py

(ls_multiple_and_non_existent_targets, add_multiple_targets,

info_multiple_targets, blame_multiple_targets): Ignore additional

lines of output from error reporting in maintainer mode.

Patch by: Uwe Stuehler <subversion-lists(_AT_)bsdx.de>

  1. … 1 more file in changeset.
Improve error message displayed by info/cat for consistency.

* subversion/svn/info-cmd.c,

subversion/svn/cat-cmd.c

(svn_cl__info, svn_cl__cat): Improve error message. Use meaningful

variable.

* subversion/tests/cmdline/cat_tests.py

(cat_skip_uncattable): Modify test.

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

  1. … 2 more files in changeset.
Following up on r1068977, fix test expectations.

* subversion/tests/cmdline/cat_tests.py

(cat_local_directory, cat_nonexistent_file,

cat_skip_uncattablem cat_unversioned_file): Escape path in error regexes.

* subversion/tests/cmdline/cat_tests.py

(cat_non_existing_remote_file): Relax regex to allow errors from

http: and svn: protocols.

Fix issue #3713 ("svn cat for non-existing file returns incorrect

exit-status"). Make 'svn cat' return a non-zero errorcode when one or

more targets fails. Also print an error message in those situations.

* subversion/svn/cat-cmd.c

(svn_cl__cat): Pass SVN_ERR_FS_NOT_FOUND to svn_cl__try() as another

non-fatal error code. Return an error if the operation fails for

any of the targets.

* subversion/tests/cmdline/cat_tests.py

(cat_local_directory, cat_nonexistent_file, cat_skip_uncattable,

cat_unversioned_file, cat_url_special_characters):

Update return code and use regular expressions to match output.

(cat_non_existing_remote_file): New test.

(test_list): Add reference to new test.

Patch by: Noorul Islam K M <noorul@collab.net>

(Tweaked by me.)

  1. … 1 more file in changeset.
Use Python decorators to denote XFail, Skip, SkipUnless and Wimp tests. Also,

add Issue decorators where appropriate.

* subversion/tests/cmdline/*.py:

As above.

* subversion/tests/cmdline/svntest/testcase.py

(XFail): Renamed to _XFail.

(Wimp): Renamed to _Wimp.

(Skip): Renamed to _Skip, and propagate the issue list.

(SkipUnless): Renamed to _SkipUnless.

(XFail_deco): Add a conditional function argument.

(Skip_deco): Make the conditional function optional.

(SkipUnless_deco): Propagate the issue list.

  1. … 46 more files in changeset.
Fix tests broken by r1064458 by updating the expected output.

This makes the test check the apr_err return by the library --- except for

those cases where both the cmdline client and the library do a validation,

where it just checks that the cmdline client *still* returns E205000.

In one case, the current output is

"svn: Skipping argument: E123456: '.+' ends in a reserved name".

* subversion/tests/cmdline/cat_tests.py

* subversion/tests/cmdline/changelist_tests.py

* subversion/tests/cmdline/diff_tests.py

* subversion/tests/cmdline/autoprop_tests.py

* subversion/tests/cmdline/input_validation_tests.py

* subversion/tests/cmdline/prop_tests.py

* subversion/tests/cmdline/special_tests.py

* subversion/tests/cmdline/update_tests.py

* subversion/tests/cmdline/commit_tests.py

* subversion/tests/cmdline/merge_tests.py

* subversion/tests/cmdline/lock_tests.py

* subversion/tests/cmdline/switch_tests.py

* subversion/tests/cmdline/stat_tests.py

* subversion/tests/cmdline/basic_tests.py

* subversion/tests/cmdline/merge_reintegrate_tests.py

* subversion/tests/cmdline/schedule_tests.py

* subversion/tests/cmdline/depth_tests.py

Update expected output.

  1. … 16 more files in changeset.
[issue 3609] Assertion failed errors when the url has encoded characters.

Canonicalize paths before passing them to svn_client_cat2.

* subversion/svn/cat-cmd.c

(svn_cl__cat): Canonicalize url or dirent before passing over to API.

* subversion/tests/cmdline/cat_tests.py

(cat_url_special_characters): New test.

(test_list): Add new test.

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

  1. … 1 more file in changeset.
Add a new test to ensure 'svn cat' handles keyword expansion correctly.

* subversion/tests/cmdline/cat_tests.py

(cat_keywords): New test.

(test_list): Run the new test.

Fix many of the links pointing to subversion.tigris.org or svn.collab.net.

Approved by: cmpilato

* BUGS,

* CHANGES,

* COMMITTERS,

* INSTALL,

* build/win32/make_gem.rb,

* configure.ac,

* contrib/client-side/emacs/psvn.el,

* notes/commit-access-templates/full-committer.tmpl,

* notes/commit-access-templates/partial-committer.tmpl,

* notes/fsfs,

* notes/l10n-problems,

* notes/merge-tracking/requirements.html,

* packages/python-windows/setup.py,

* packages/solaris/pkginfo.in,

* subversion/bindings/ctypes-python/setup.py,

* subversion/bindings/javahl/src/org/tigris/subversion/javahl/package.html,

* subversion/bindings/swig/python/__init__.py,

* subversion/bindings/swig/python/svn/__init__.py,

* subversion/bindings/swig/python/svn/client.py,

* subversion/bindings/swig/python/svn/core.py,

* subversion/bindings/swig/python/svn/delta.py,

* subversion/bindings/swig/python/svn/diff.py,

* subversion/bindings/swig/python/svn/fs.py,

* subversion/bindings/swig/python/svn/ra.py,

* subversion/bindings/swig/python/svn/repos.py,

* subversion/bindings/swig/python/svn/wc.py,

* subversion/include/svn_props.h,

* subversion/libsvn_repos/repos.c,

* subversion/svn/svn.1,

* subversion/svnadmin/svnadmin.1,

* subversion/svndumpfilter/svndumpfilter.1,

* subversion/svnlook/svnlook.1,

* subversion/svnsync/svnsync.1,

* subversion/svnversion/svnversion.1,

* subversion/tests/cmdline/authz_tests.py,

* subversion/tests/cmdline/autoprop_tests.py,

* subversion/tests/cmdline/basic_tests.py,

* subversion/tests/cmdline/blame_tests.py,

* subversion/tests/cmdline/cat_tests.py,

* subversion/tests/cmdline/changelist_tests.py,

* subversion/tests/cmdline/checkout_tests.py,

* subversion/tests/cmdline/commit_tests.py,

* subversion/tests/cmdline/copy_tests.py,

* subversion/tests/cmdline/depth_tests.py,

* subversion/tests/cmdline/diff_tests.py,

* subversion/tests/cmdline/entries_tests.py,

* subversion/tests/cmdline/export_tests.py,

* subversion/tests/cmdline/externals_tests.py,

* subversion/tests/cmdline/getopt_tests.py,

* subversion/tests/cmdline/history_tests.py,

* subversion/tests/cmdline/import_tests.py,

* subversion/tests/cmdline/info_tests.py,

* subversion/tests/cmdline/lock_tests.py,

* subversion/tests/cmdline/log_tests.py,

* subversion/tests/cmdline/merge_authz_tests.py,

* subversion/tests/cmdline/merge_tests.py,

* subversion/tests/cmdline/mergeinfo_tests.py,

* subversion/tests/cmdline/obliterate_tests.py,

* subversion/tests/cmdline/patch_tests.py,

* subversion/tests/cmdline/prop_tests.py,

* subversion/tests/cmdline/resolve_tests.py,

* subversion/tests/cmdline/resolved_tests.py,

* subversion/tests/cmdline/revert_tests.py,

* subversion/tests/cmdline/schedule_tests.py,

* subversion/tests/cmdline/special_tests.py,

* subversion/tests/cmdline/stat_tests.py,

* subversion/tests/cmdline/svnadmin_tests.py,

* subversion/tests/cmdline/svndumpfilter_tests.py,

* subversion/tests/cmdline/svneditor.py,

* subversion/tests/cmdline/svnlook_tests.py,

* subversion/tests/cmdline/svnsync_tests.py,

* subversion/tests/cmdline/svnversion_tests.py,

* subversion/tests/cmdline/switch_tests.py,

* subversion/tests/cmdline/trans_tests.py,

* subversion/tests/cmdline/tree_conflict_tests.py,

* subversion/tests/cmdline/update_tests.py,

* subversion/tests/cmdline/upgrade_tests.py,

* subversion/tests/cmdline/utf8_tests.py,

* tools/backup/hot-backup.py.in,

* tools/dev/contribulyze.py,

* tools/dist/gen_nightly_ann.py,

* tools/dist/write-announcement.py,

* tools/po/po-update.sh

Fix broken links.

  1. … 82 more files in changeset.
Resolve issue #3560, svn_wc_status3() returns incorrect status for

unversioned files. Also resolve a few other issues that cause the

test for this issue to fail.

* subversion/libsvn_client/cat.c

(cat_local_file): Handle kind none with a not exist error instead of

an error that the node is a directory.

* subversion/libsvn_wc/status.c

(internal_status): Check if the node should be hidden and remove a path

empty check that can never be false for an absolute path.

* subversion/tests/cmdline/cat_tests.py

(cat_unversioned_file): Expect absolute path in error message.

(test_list): Remove XFail marking from cat_unversioned_file.

  1. … 2 more files in changeset.
Add a test for issue #3560 'svn_wc_status3() returns incorrect status for

unversioned files'.

* subversion/tests/cmdline/cat_tests.py

(cat_unversioned_file): New.

(test_list): Add 'cat_unversioned_file' as XFailing test.

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.
Create a temporary drop-in replacement for svn_wc__entry_versioned() for

fetching entries within libsvn_client. This new API allows callers in

libsvn_client to obtain entries without the need of an access baton.

Also, as a proof-of-concept, use the new function within libsvn_client/cat.c.

This removes any mention or use of access batons within that file. Yay!

* subversion/include/private/svn_wc_private.h

(svn_wc__get_entry_versioned): New.

* subversion/libsvn_wc/entries.c

(svn_wc__get_entry_versioned): New.

* subversion/libsvn_client/cat.c

(cat_local_file): Use get_entry_versioned(), removing the need for an

access baton. Adjust parameters to require an absolute path.

(svn_client_cat2): Don't open an access baton, but use an absolute path

instead.

* subversion/tests/cmdline/cat_tests.py

(cat_skip_uncattable): Absolutify the filenames in the expected output.

  1. … 3 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.
In some libsvn_client functions, resolve an "unspecified" revision specifier

to its default value early on so lower-level code need not worry about it.

(No functional change.)

* subversion/libsvn_client/cat.c

(cat_local_file): Don't accept rev-kind "unspecified": make the caller say

what it wants.

(svn_client_cat2): Resolve default revisions at the beginning. (Note that the

default revision logic for this command is inconsistent with others.)

* subversion/libsvn_client/export.c

(copy_one_versioned_file, copy_versioned_files): Constify "revision" param.

(svn_client_export4): Resolve default revisions at the beginning.

* subversion/libsvn_client/prop_commands.c

(svn_client_propget3, svn_client_proplist3): Resolve default revisions at

the beginning.

* subversion/libsvn_client/util.c,

subversion/libsvn_client/client.h

(svn_cl__rev_default_to_head_or_base, svn_cl__rev_default_to_head_or_working,

svn_cl__rev_default_to_peg): New functions.

* subversion/tests/cmdline/cat_tests.py

(cat_base): On failure, show the whole output not just the first line of it.

  1. … 5 more files in changeset.
Allow testing of application exit codes.

This makes all of the lower-level process-running functions in

cmdline/svntest/main.py and cmdline/svntest/actions.py return

the exit code, all of the "run_and_verify_*()" functions guess the

expected exit code based on whether or not output on stderr is

expected, and new "run_and_verify_*2()" functions allow the

expected exit code to be provided explicitly.

On platforms without the Popen3 Python class (e.g. Windows), exit

codes are returned as None, and therefore disregarded during

validation.

Patch by: Jeremy Hinds <jeremy.hinds@gmail.com>

* subversion/tests/cmdline/svntest/main.py

(run_command, run_svn, run_svnadmin, run_svnlook, run_svnsync,

run_svnversion, run_command_stdin):

Include exit_code in the returned tuple.

(create_repos): Accept exit_code returned from run_command.

(run_one): Clarify a comment concerning exit codes

* subversion/tests/cmdline/svntest/actions.py

(run_and_verify_svnlook2, run_and_verify_svnadmin2,

run_and_verify_svnversion2, run_and_verify_svn2,

run_and_verify_svn_match_any2): New, execute the indicated binary

and check actual outputs and exit code against the expected value

parameters.

(run_and_verify_svnlook, run_and_verify_svnadmin,

run_and_verify_svnversion, run_and_verify_svn,

run_and_verify_svn_match_any): Guess whether the expected exit should

be 0 or 1 based on whether output is expected on stderr. Then invoke

the coresponding run_and_verify_*2 function with that value. Return

exit_code, stdout_lines, stderr_lines.

(setup_pristine_repository, run_and_verify_load, run_and_verify_dump,

run_and_verify_checkout, run_and_verify_update, run_and_verify_commit,

run_and_verify_status, run_and_verify_unquiet_status,

run_and_verify_diff_summarize, run_and_verify_diff_summarize_xml,

run_and_verify_log_xml, run_and_verify_merge2,

run_and_verify_mergeinfo, run_and_verify_switch, run_and_validate_lock,

check_prop, inject_conflict_into_wc, run_and_verify_export):

Accept exit_code value returned from main.run_svn, main.run_command,

main.run_svnadmin, main.run_command_stdin, actions.run_and_verify_svn

* subversion/tests/cmdline/svntest/tree.py

(get_props): Accept exit code returned by main.run_svn.

* subversion/tests/cmdline/svntest/verify.py

(SVNUnexpectedExitCode): New exception raised when the exit code was not

what was expected.

(verify_exit_code): New, compares expected and actual exit code and raises

an exception if they are different. Comparison is not performed if

expected exit code is None.

* subversion/tests/cmdline/cat_tests.py,

subversion/tests/cmdline/lock_tests.py,

subversion/tests/cmdline/stat_tests.py:

Accept exit code returned from run_*(), replacing those calls with the

run_*2() counterparts for cases where stderr output is produced while

exiting 0.

* subversion/tests/cmdline/prop_tests.py:

Accept exit code returned from the run_*() function calls, and verify

exit codes along with each verify_output().

* subversion/tests/cmdline/authz_tests.py,

subversion/tests/cmdline/autoprop_tests.py,

subversion/tests/cmdline/basic_tests.py,

subversion/tests/cmdline/blame_tests.py,

subversion/tests/cmdline/changelist_tests.py,

subversion/tests/cmdline/checkout_tests.py,

subversion/tests/cmdline/commit_tests.py,

subversion/tests/cmdline/copy_tests.py,

subversion/tests/cmdline/depth_tests.py,

subversion/tests/cmdline/diff_tests.py,

subversion/tests/cmdline/getopt_tests.py,

subversion/tests/cmdline/import_tests.py,

subversion/tests/cmdline/log_tests.py,

subversion/tests/cmdline/merge_tests.py,

subversion/tests/cmdline/revert_tests.py,

subversion/tests/cmdline/schedule_tests.py,

subversion/tests/cmdline/special_tests.py,

subversion/tests/cmdline/svnadmin_tests.py,

subversion/tests/cmdline/svndumpfilter_tests.py,

subversion/tests/cmdline/svnlook_tests.py,

subversion/tests/cmdline/svnsync_tests.py,

subversion/tests/cmdline/svnversion_tests.py,

subversion/tests/cmdline/switch_tests.py,

subversion/tests/cmdline/update_tests.py:

Accept exit code returned from the run_*() function calls.

  1. … 31 more files in changeset.
In the test suite, do not create a dedicated repository for a test that

promises not to commit to a repository, or lock any items in the repository.

This should reduce the time to run the tests.

* subversion/tests/cmdline/svntest/actions.py

(make_repo_and_wc): Take parameter read_only. If read_only is True, don't

create a dedicated repository but use the pristine repository instead.

* subversion/tests/cmdline/svntest/main.py

(write_authz_file): The test name can be different from the repository name,

so use the repository name it in the authz file.

(_set_name): Take parameter read_only. Use the pristine repository if

read_only is True.

(build): Take parameter read_only, pass it through.

(add_repo_path): When using the read only pristine repository, copy it to a

path in svn-test-work/repositories.

* subversion/tests/cmdline/revert_tests.py

* subversion/tests/cmdline/cat_tests.py

* subversion/tests/cmdline/log_tests.py

* subversion/tests/cmdline/switch_tests.py

* subversion/tests/cmdline/copy_tests.py

* subversion/tests/cmdline/stat_tests.py

* subversion/tests/cmdline/special_tests.py

* subversion/tests/cmdline/blame_tests.py

* subversion/tests/cmdline/export_tests.py

* subversion/tests/cmdline/basic_tests.py

* subversion/tests/cmdline/authz_tests.py

* subversion/tests/cmdline/schedule_tests.py

* subversion/tests/cmdline/depth_tests.py

* subversion/tests/cmdline/checkout_tests.py

Specify read_only = True when building the sandbox for all tests that are

not committing to or locking in the repository.

  1. … 15 more files in changeset.
svntest: Split output handling/verification code into the new "verify"

module. Refactor said verification code, and its consumers (existing

and new).

[ in subversion/tests/cmdline/ ]

* svntest/__init__.py

Add import of new "verify" module.

(SVNAnyOutput): Remove class, replaced by verify.AnyOutput.

* svntest/actions.py

Add import of new "verify" module. Remove import of "SVNAnyOutput".

(SVNUnexpectedOutput, SVNUnexpectedStdout, SVNUnexpectedStderr,

SVNExpectedStdout, SVNExpectedStderr, SVNIncorrectDatatype,

ExpectedOutput, AnyOutput, RegexOutput, UnorderedOutput,

UnorderedRegexOutput, display_trees, display_lines,

compare_and_display_lines): Move into verify.py.

(setup_pristine_repository, run_and_verify_svnversion,

run_and_verify_svn, run_and_verify_load, run_and_verify_dump,

run_and_verify_merge2, run_and_verify_switch, run_and_verify_commit,

run_and_verify_diff_summarize, run_and_verify_commit,

run_and_verify_status, run_and_verify_diff_summarize): Adjust for

API changes, and/or leverage new APIs to simplify code and/or

improve exception handling/diagnostics.

* svntest/verify.py

Based off of code from actions.py.

(verify_outputs): Add new function factored out of the

run_and_verify_svn() function, and other bits of code.

(compare_and_display_lines): Add inline comment.

* authz_tests.py

* basic_tests.py

* cat_tests.py

* checkout_tests.py

* commit_tests.py

* copy_tests.py

* depth_tests.py

* diff_tests.py

* export_tests.py

* externals_tests.py

* history_tests.py

* merge_tests.py

* prop_tests.py

* revert_tests.py

* schedule_tests.py

* stat_tests.py

* svnadmin_tests.py

* svnlook_tests.py

* svnsync_tests.py

* svnversion_tests.py

Adjust for API changes, and/or leverage new APIs. Where applicable,

remove import of "SVNAnyOutput". In some files, also tweak copyright

dates.

  1. … 23 more files in changeset.
Channeling Erik Hülsmann, remove all trailing whitespace within our source

tree:

for extsn in c h cpp java py pl rb; do

sed -i -e 's/[ \t]*$//' `find . -name "*.$extsn" | xargs grep '[ \t]$' -l`

done

Inspired by: ehu

  1. … 449 more files in changeset.
Eliminate heavily repeated code when retrieving a versioned wc entry.

This patch makes sure caller gets a valid entry on successful return.

It introduces a private header with a macro to help generate the correct

line numbers and a helper function for the actual code.

* subversion/include/private/svn_wc_private.h: New private header.

(svn_wc__entry_versioned): Macro. Makes sure the correct debugging

values are passed to ...

(svn_wc__entry_versioned_internal): ... this new function. It's a wrapper

around svn_wc_entry() which generates an error if a non-versioned

path (one without an entry) was passed to it.

* subversion/libsvn_wc/entries.c

* subversion/libsvn_wc/copy.c

* subversion/libsvn_wc/adm_ops.c

* subversion/libsvn_wc/status.c

* subversion/libsvn_wc/adm_files.c

* subversion/libsvn_wc/update_editor.c

* subversion/libsvn_wc/questions.c

* subversion/libsvn_wc/translate.c

* subversion/libsvn_client/switch.c

* subversion/libsvn_client/export.c

* subversion/libsvn_client/revisions.c

* subversion/libsvn_client/status.c

* subversion/libsvn_client/info.c

* subversion/libsvn_client/prop_commands.c

* subversion/libsvn_client/ra.c

* subversion/libsvn_client/locking_commands.c

* subversion/libsvn_client/cat.c

* subversion/libsvn_client/diff.c

* subversion/libsvn_client/copy.c

* subversion/libsvn_client/log.c

* subversion/libsvn_client/commit_util.c

Include the new header and replace calls with subsequent checks on the

returned entry and error generation with a call to svn_wc__entry_versioned.

* subversion/tests/cmdline/cat_tests.py

* subversion/tests/cmdline/lock_tests.py

Adjust for slightly different error output.

  1. … 23 more files in changeset.
* subversion/tests/cmdline/cat_tests.py,

* subversion/tests/cmdline/revert_tests.py,

* subversion/tests/cmdline/log_tests.py,

* subversion/tests/cmdline/trans_tests.py,

* subversion/tests/cmdline/lock_tests.py,

* subversion/tests/cmdline/svnlook_tests.py,

* subversion/tests/cmdline/history_tests.py,

* subversion/tests/cmdline/switch_tests.py,

* subversion/tests/cmdline/diff_tests.py,

* subversion/tests/cmdline/copy_tests.py,

* subversion/tests/cmdline/stat_tests.py,

* subversion/tests/cmdline/svnversion_tests.py,

* subversion/tests/cmdline/prop_tests.py,

* subversion/tests/cmdline/special_tests.py,

* subversion/tests/cmdline/blame_tests.py,

* subversion/tests/cmdline/basic_tests.py,

* subversion/tests/cmdline/update_tests.py,

* subversion/tests/cmdline/commit_tests.py,

* subversion/tests/cmdline/authz_tests.py,

* subversion/tests/cmdline/merge_tests.py,

* subversion/tests/cmdline/checkout_tests.py

Nothing to see here. Just a massive space-before-paren fixup.

* subversion/libsvn_repos/hooks.c

Accidentally committed this as well. REVERTED in r22250.

  1. … 21 more files in changeset.
Prepare the python tests to be run in parallel:

Stop using global variables svntest.main.current_repo_url and

svntest.main.current_repo_dir. Since all tests have a sandbox,

replace the current_repo_url and current_repo_dir vars with

sbox.repo_url and sbox.repo_dir respectively.

* subversion/tests/cmdline/svntest/main.py

(global): remove current_repo_url and current_repo_dir

(set_repos_paths): removed now obsolete function

(run_one_test): cleanup

* subversion/tests/cmdline/svntest/actions.py

* subversion/tests/cmdline/*_tests.py

Replace all uses of svntest.main.current_repo_url with sbox.repo_url

and svntest.main.current_repo_dir with sbox_repo_dir.

  1. … 26 more files in changeset.
Improve performance of the python tests by not creating a working copy when none is needed.

Updated copyright date of the tests to 2006 where needed.

* subversion/tests/cmdline/svntest/main.py

(Sandbox.build): Allow the user to pass an option to disable the creation of a working copy.

* subversion/tests/cmdline/svntest/actions.py

(make_repo_and_wc): When create_wc option is False do not checkout the working copy.

Make sure the svn-test-work/working_copies folder is created

The following tests are all changed to not request a working copy to be

created:

* subversion/tests/cmdline/basic_tests.py

(uri_syntax)

* subversion/tests/cmdline/cat_tests.py

(cat_remote_directory)

* subversion/tests/cmdline/copy_tests.py

(double_uri_escaping_1814)

(copy_to_root)

(url_to_non_existent_url_path)

(non_existent_url_to_url)

(old_dir_url_to_url)

* subversion/tests/cmdline/diff_tests.py

(diff_nonextant_urls)

* subversion/tests/cmdline/export_tests.py

(export_empty_directory)

(export_greek_tree)

* subversion/tests/cmdline/externals_tests.py

(externals_test_setup)

* subversion/tests/cmdline/svnadmin_tests.py

(dump_quiet)

* subversion/tests/cmdline/authz_tests.py

(broken_authz_file)

(authz_read_access)

(authz_write_access)

(authz_checkout_test)

  1. … 9 more files in changeset.
Many spelling fixes, mostly in comments (the only two that affect code

are listed below).

Patch by: Martin A. Brooks <martin@hinterlands.org>

* subversion/tests/cmdline/cat_tests.py

(cat_nonexistent_file): Renamed from cat_nonexistant_file.

(test_list): Adjust for above.

* subversion/tests/cmdline/export_tests.py

(export_nonexistent_file): Renamed from export_nonexistant_file.

(test_list): Adjust for above.

  1. … 16 more files in changeset.