subversion

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

Changeset 1833601 is being indexed.

Add a fuzzing test for svn_txdelta_parse_svndiff(). No issue found so far.

* build.conf: Add afl-svndiff

* subversion/tests/afl/afl-svndiff.c: New.

* subversion/tests/afl/afl-svndiff-testcase/: New.

* subversion/tests/afl/afl-svndiff-testcase/test1: New.

* subversion/tests/afl/afl-svndiff-testcase/test2: New.

* subversion/tests/afl/afl-svndiff-testcase/test3: New.

    • ?
    /trunk/subversion/tests/afl/afl-svndiff-testcase/test1
    • ?
    /trunk/subversion/tests/afl/afl-svndiff-testcase/test3
    • ?
    /trunk/subversion/tests/afl/afl-svndiff-testcase/test2
  1. /trunk/subversion/tests/afl/afl-svndiff-testcase
    • ?
    /trunk/subversion/tests/afl/afl-svndiff.c
Add a couple more testcases for afl-x509. No further issues found.

* subversion/tests/afl/afl-x509-testcase/test2: New.

* subversion/tests/afl/afl-x509-testcase/test3: New.

* subversion/tests/cmdline/shelf_tests.py

(list_shelves): Don't check ordering, as shelf timestamps may not differ.

Merge r1816365 from trunk:

* r1816365

Duplicate proxy_password to the correct member of the new session, instead of

overwriting proxy_username.

Justification:

Incorrect proxy settings can block user's access to the repo

Votes:

+1: jamessan, stsp, philip

Change shelf_tests.py binary data tests to use varying file lengths.

This should make the tests work even though sleep_for_timestamps is disabled.

* STATUS: Vote for external pruning fix.
* STATUS: Vote/approve serf proxy password fix.
* subversion/tests/cmdline/shelf_tests.py

(unshelve_with_merge): Add a doc-string.

Shelving: Sleep for timestamps after 'unshelve'.

This should fix test failures we've been seeing particulary on a MacOSX buildbot

(as apparently an HFS+ filesystem has a coarse 1s timestamp resolution).

Found by: philip

* subversion/libsvn_client/shelf.c

(svn_client_shelf_apply): Sleep for timestamps.

Revert r1833512 (change shelf_tests.py binary data tests to use varying file lengths).
Change shelf_tests.py binary data tests to use varying file lengths.
* COMMITTERS: Move 'karolszk' from 'translators' to 'dormant'.

Karol emailed me today to say 'I am unable to continue [this work]'.

In the test suite: replace 'open().write()' with a 'with' construct.

The form 'with open() as f: f.write()' is nowadays recommended.

This may fix test failures we were seeing on MacOSX in shelf_tests.py

test 15 and perhaps test 12.

* subversion/tests/cmdline/*_tests.py

Use 'with' form instead of 'open().write()'.

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

(file_write): Same, and also for 'codecs.open().write()'.

(file_substitute): Same.

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

(Sandbox._ensure_authz): Same.

Merge r1829260 from trunk:

* r1829260

Revert r1751167, since it broke use of pre-generated Swig bindings in

release builds.

Justification:

Fix build of pre-generated Swig bindings when swig is not installed

Votes:

+1: jamessan, stsp, philip

Merge the r1830885 group from trunk:

* r1830885,r1831540

Ensure consistent use of $PYTHON during build and test.

Justification:

Fixes potential build issues when multiple Python interpreters are

installed, and aids with Python 2 to 3 migration.

Votes:

+1: jorton, rhuijben, philip

    • ?
    /branches/1.10.x/build/generator/gen_make.py
Merge r1829241 from trunk:

* r1829241

configure.ac: Fix variable name with path to rdoc, broken in r1806570.

Justification:

A regression in 1.10.0. Broke 'make install-swig-rb-doc'.

Votes:

+1: julianfoad, stsp, philip

* STATUS: Vote/approve swig configure fix.
* STATUS: Vote/appprove path to python fix.
* STATUS: Vote/appprove path to rdoc fix.
* STATUS: Fix syntax to make backport.pl happy.
* subversion/mod_dav_svn/repos.c

(open_stream): Return an error if a non-conforming client sends

a PUT before the corresponding CHECKOUT when attempting a v1

protocol commit. This is required for strict v1 compliance

and does not affect the v2 protocol.

Shelving: add tests for a binary file conflict.

* subversion/tests/cmdline/shelf_tests.py

(unshelve_undeclared_binary_mod_conflict,

unshelve_binary_mod_conflict): New tests.

(test_list): Run them.

Shelving: in the tests, tweak some test names and variable names.
Shelving: Add tests for merging a prop change, cleanly and with conflict.

* subversion/tests/cmdline/shelf_tests.py

(unshelve_with_merge): New, factored out...

(unshelve_text_mod_merge,

unshelve_text_mod_conflict): ... from here.

(unshelve_text_prop_merge,

unshelve_text_prop_conflict): New tests.

(test_list): Run them.

Shelving: Add tests for merging a text change, cleanly and with conflict.

* subversion/tests/cmdline/shelf_tests.py

(unshelve_text_mod_merge,

unshelve_text_mod_conflict): New tests.

(test_list): Run them.

In the test suite, when displaying unexpected differences, don't hide

binary file contents.

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

(SVNTreeNode.print_script): Just print file content's repr() regardless of MIME-type.

Shelving: Test a little more thoroughly.

Verify also the contents of on-disk files and their versioned properties,

not just the status that 'svn status' shows.

* subversion/tests/cmdline/shelf_tests.py

(get_wc_state,

check_wc_state): New.

(shelve_unshelve_verify,

save_revert_restore,

unshelve_refuses_if_conflicts): Use them.

Shelving: Add a test for refusing to shelve a conflict.

A follow-up to r1833141.

* subversion/tests/cmdline/shelf_tests.py

(refuse_to_shelve_conflict): New test.

(test_list): Run it.

Shelving: Improve 'svn help shelve'.

* subversion/svn/svn.c

(svn_cl__cmd_table): For 'shelve', better describe the supported kinds of change.

Shelving: Detect and refuse to shelve an unversioned tree-conflicted victim path.

Previously a path with this status was silently skipped.

* subversion/libsvn_client/shelf.c

(write_changes_visitor): Detect and refuse all conflicts.

[A test was added later in r1833168.]