trunk

Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Actually support building and testing with Python 3 on the macOS buildslave.

[in tools/buildbot/slaves/svn-x64-macosx]

* svnbuild.sh: For Python 3, activate the virtual environment before

configuring, and set the PYTHON environment variable so that configure

puts the right path in the Makefile.

* svnbuild-bindings.sh: Select which bindings to build and support Python 3.

* svncheck.sh, svncheck-bindings.sh: For Python 3, activate the virtual

environment before running tests.

Properly identify the newest macOS release in 'svn --version --verbose'.

* subversion/libsvn_subr/sysinfo.c (release_name_from_minor_version):

macOS 10.15.x is called "Catalina".

* tools/dist/nominate.pl

(nominate_main, nominate_usage): Add syntactic sugar CLI for recent revisions.

Unit test driver: Reinstate SUMMARY and tweak newlines at end of tests

* build/run_tests.py

(TestHarness.run): Reinstate printing SUMMARY; move the extra

newline from 'Python version' line to 'SUMMARY' line.

Fix false positive on test with Python 3

* subversion/tests/cmdline/svnadmin_tests.py

(dump_no_canonicalize_svndate): Make sure expected line to be bytes object.

* subversion/tests/cmdline/tree_conflict_tests.py

(local_missing_dir_endless_loop): Use text mode I/O operations.

Tested by: jcorvel

Approved by: danielsh

* build/run_tests.py

(TestHarness.run): Tweak new output.

Print the Python version used by the unit test driver.

* build/run_tests.py (TestHarness.run): Print the interpreter version

in the test summary.

Add 'svn diff' regression test for SVN-1722.

* subversion/tests/cmdline/diff_tests.py

(diff_nonexistent_in_wc): New test.

(test_list): Run it.

Replace outdated link to Apache Serf in INSTALL.

* INSTALL: The link http://code.google.com/p/serf/ is outdated. Update

it to https://serf.apache.org/.

* subversion/libsvn_fs_fs/fs.c

(fs_ioctl): Tweak the code to have a single final statement returning

an SVN_ERR_FS_UNRECOGNIZED_IOCTL_CODE error.

* subversion/libsvn_fs_fs/fs.c

(fs_ioctl): Minor refactoring. Explicitly return after handling an ioctl

in every else-if branch, instead of potentially falling through.

Adjust lifetime of the result returned from svn_repos__normalize_prop().

Previously, this function would make an unconditional copy of the value into

the result pool. While this may look convenient in some of the cases, there

is a downside of making unnecessary copies even if no normalization happened.

Instead of that, let's give the calling site control over the results' lifetime

by not making the copy if the input did not change. The callers may still dup()

the value if they need to, but with this approach there are no unavoidable

copies in various situations, such as where we would like to only update the

value if it changed or where we don't have an appropriate scratch pool, but

need to normalize the property value anyway.

* subversion/include/private/svn_repos_private.h

(svn_repos__normalize_prop): Adjust documentation.

* subversion/libsvn_repos/fs-wrap.c

(svn_repos__normalize_prop): Do not duplicate the input if no normalization

is required.

* subversion/libsvn_repos/dump_editor.c

(normalize_props): Adjust call to svn_repos__normalize_prop(), explicitly

duplicate the property value into the result pool.

* subversion/svnrdump/load_editor.c

(set_revision_property, set_node_property): Explicitly duplicate the property

values into the long-living pool.

* subversion/svnrdump/util.c

(svn_rdump__normalize_props): Adjust call to svn_repos__normalize_prop(),

explicitly duplicate the property value into the result pool.

Normalize line endings in node properties (such as svn:ignore) when loading

dumps with `svnadmin load --normalize-props`.

Previously, this command would only normalize revision properties, but

do nothing for node properties.

The problem has been reported by a user in the following thread:

https://lists.apache.org/thread.html/86a018501fde594b4ebf4080143bcb9562b0482d794206e27de86836@%3Cusers.subversion.apache.org%3E

* subversion/libsvn_repos/load-fs-vtable.c

(change_node_prop): Accept the new `normalize_props` argument, call

svn_repos__normalize_prop() for the property if it is set.

(set_node_property, delete_node_property, remove_node_props):

Update calling sites of the change_node_prop() function, pass the

stored `normalize_props` state of the parser.

* subversion/tests/cmdline/svnadmin_tests.py

(load_normalize_node_props): New regression test.

(test_list): Add new test.

* subversion/libsvn_repos/load-fs-vtable.c

(change_rev_prop): Document the `normalize_props` argument.

No functional changes.

* subversion/tests/cmdline/svnserveautocheck.sh

(random_port): Fix syntax error when $PYTHON is Python 3.

* tools/dist/release.py

(update_backport_bot): Update instructions for this manual step.

* tools/dist/release.py

(create_status_file_on_branch): Move the template from here...

* tools/dist/templates/STATUS.ezt

... to this new file.

* tools/dist/templates/release-notes.ezt: Add 'work in progress' warning.
* tools/dist/templates/release-notes.ezt: Fix comment-in-comment syntax.
* tools/dist/release.py: Add a new subcommand 'write-release-notes'.

* tools/dist/templates/release-notes.ezt: New template.

    • ?
    ./tools/dist/templates/release-notes.ezt
Fix minor typos

* INSTALL: refere -> refer (2 instances)

* tools/dist/release.py: Make '--target' a global option.
* tools/dist/release.py

(is_recommended,

get_download_anchor): Move out of Version class.

* tools/dist/release.py: Fix broken 'roll' command, following r1867134.
* tools/dist/release.py (recommended_release): Update to 1.13

in preparation for rolling the 1.13 release.

Downloads page: remove vestiges of obsolete in-line rendering of checksums.
  1. … 1 more file in changeset.
* tools/dist/release.py (tool_versions): Deduplicate the data.
Merge tools/dist/create-minor-release-branch.py into release.py.
* tools/dist/release.py: Make repository URLs configurable externally,

useful for testing, removing the scalpel left in r1867572.

Preparation for merging create-minor-release-branch.py into release.py.