Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Apply ASF license headers to a number of files included under that license

but lacking said header.

Patch by: Niall Pemberton <niallp{_AT_}apache.org>

  1. … 175 more files in changeset.
Python 3 compatibility:

Update calls to print() in 'tools' directory.

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

* tools/bdb/erase-all-text-data.py:

* tools/bdb/svn-bdb-view.py:

* tools/bdb/whatis-rep.py:

* tools/client-side/change-svn-wc-format.py:

* tools/client-side/server-version.py:

* tools/dev/check-license.py:

* tools/dev/contribulyze.py:

* tools/dev/datecheck.py:

* tools/dev/gen-javahl-errors.py:

* tools/dev/graph-dav-servers.py:

* tools/dev/iz/ff2csv.py:

* tools/dev/iz/find-fix.py:

* tools/dev/mlpatch.py:

* tools/dev/normalize-dump.py:

* tools/dev/po-merge.py:

* tools/dev/random-commits.py:

* tools/dev/scramble-tree.py:

* tools/dev/svn-merge-revs.py:

* tools/dev/verify-history.py:

* tools/dev/which-error.py:

* tools/dist/gen_nightly_ann.py:

* tools/dist/getsigs.py:

* tools/dist/post-to-tigris.py:

* tools/dist/write-announcement.py:

* tools/examples/blame.py:

* tools/examples/check-modified.py:

* tools/examples/dumpprops.py:

* tools/examples/getfile.py:

* tools/examples/get-location-segments.py:

* tools/examples/geturl.py:

* tools/examples/putfile.py:

* tools/examples/revplist.py:

* tools/examples/svnlook.py:

* tools/examples/svnshell.py:

* tools/hook-scripts/mailer/tests/mailer-tweak.py:

* tools/hook-scripts/svn2feed.py:

* tools/po/l10n-report.py:

* tools/server-side/fsfs-reshard.py:

* tools/server-side/svn-backup-dumps.py: Call print() or file.write().

  1. … 39 more files in changeset.
* build/buildcheck.sh:

* build/PrintPath:

* build/getversion.py:

* build/install-sh:

* subversion/tests/cmdline/svnadmin_tests.py:

* subversion/tests/cmdline/log_tests.py:

* subversion/tests/cmdline/trans_tests.py:

* subversion/tests/cmdline/svnlook_tests.py:

* subversion/tests/cmdline/switch_tests.py:

* subversion/tests/cmdline/externals_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/basic_tests.py:

* subversion/tests/cmdline/update_tests.py:

* subversion/tests/cmdline/utf8_tests.py:

* subversion/tests/cmdline/commit_tests.py:

* subversion/tests/cmdline/schedule_tests.py:

* subversion/tests/cmdline/merge_tests.py:

* subversion/tests/cmdline/getopt_tests.py:

* contrib/client-side/svn_all_diffs.pl:

* contrib/client-side/search-svnlog.pl:

* contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in:

* contrib/cgi/mirror_dir_through_svn.cgi:

* tools/client-side/showchange.pl:

* tools/dist/dist.sh:

* tools/hook-scripts/commit-access-control.pl.in:

* tools/hook-scripts/svnperms.py:

* tools/hook-scripts/mailer/mailer.py:

* tools/hook-scripts/mailer/tests/mailer-init.sh:

* tools/hook-scripts/mailer/tests/mailer-t1.sh:

* tools/hook-scripts/mailer/tests/mailer-tweak.py:

* tools/hook-scripts/commit-email.pl.in:

* tools/dev/stress.pl:

* tools/dev/gnuify-changelog.pl:

* tools/dev/prebuild-cleanup.sh:

* tools/examples/dumpprops.py:

* tools/examples/check-modified.py:

* tools/examples/svnlook.py:

* tools/examples/svnshell.py:

* tools/examples/geturl.py:

* tools/examples/putfile.py:

* tools/examples/revplist.py:

* tools/examples/getfile.py:

* tools/examples/blame.py:

* doc/tools/bin/run-fop.sh:

* autogen.sh:

* gen-make.py:

Set svn:executable property to "*".

  1. … 49 more files in changeset.
* tools/examples/geturl.py

(main): Use automatic pool management.

Change "#!/usr/bin/env python2" to "#!/usr/bin/env python" everywhere.

"python2" is not a standard name - by using it, we are more likely to force

users to have to edit our scripts to point them at a real Python interpreter,

than to help our scripts work out of the box.

* contrib/hook-scripts/pre-commit-check.py:

* tools/hook-scripts/svnperms.py:

* tools/hook-scripts/mailer/mailer.py:

* tools/hook-scripts/mailer/tests/mailer-tweak.py:

* tools/dev/iz/ff2csv.py:

* tools/dev/lock-check.py:

* tools/dev/scramble-tree.py:

* tools/examples/putfile.py:

* tools/examples/revplist.py:

* tools/examples/dumpprops.py:

* tools/examples/svnlook.py:

* tools/examples/svnshell.py:

* tools/examples/getfile.py:

* tools/examples/blame.py:

* tools/examples/geturl.py:

Change "#!/usr/bin/env python2" to "#!/usr/bin/env python".

  1. … 14 more files in changeset.
Mo' Python bindings cleanups.

* subversion/bindings/swig/python/svn/util.py

Delete. Stop propogating the madness.

* tools/examples/revplist.py

* tools/examples/geturl.py

* tools/examples/check-modified.py

Stop using the util module.

  1. … 3 more files in changeset.
Remove all svn_xxx_ from the calls to the bindings.

* contrib/server-side/svn-obliterate.py

* tools/hook-scripts/verify-po.py

* tools/hook-scripts/mailer/mailer.py

* tools/dev/verify-history.py

* tools/examples/putfile.py

* tools/examples/dumpprops.py

* tools/examples/svnlook.py

* tools/examples/check-modified.py

* tools/examples/svnshell.py

* tools/examples/getfile.py

* tools/examples/blame.py

* tools/examples/geturl.py

Remove all svn_xxx_ from the calls to the bindings.

Reformat where applicable.

  1. … 11 more files in changeset.
Make the SWIG bindings to python as easy to use and as Python-esque as

possible by letting SWIG generate the shadow classes.

Patch by: Philipp von Weitershausen <philipp@weitershausen.de>

(Resulting from previous discussion with cmpilato and gstein).

(Tweaked by me.)

NOTE: Existing python code should still run unless it uses

accessor functions. Instead of using accessor functions,

you can now simply acquire the attribute of your struct

wrapping object to acquire a struct member -- for example,

ctx.auth_baton instead of svn_client_ctx_t_auth_baton_get(ctx).

ANOTHER NOTE: For those of you like cmpilato who are symlinking

to the 'svn-python/svn' package from your Python site-packages,

you'll want to now additionally symlink to the 'svn-python/libsvn'.

--

* Makefile.in

Do not call SWIG with the -noproxy flag: build shadow classes

instead of accessor functions for structs. The pure SWIG bindings

are available as the 'libsvn' package while the 'svn' package

provides extra auxiliary classes and functions for the python

programmer.

* build.conf

Track rename of util.i to core.i.

* subversion/bindings/swig/python

Add '*.py' to the list of ignores in 'svn:ignore'.

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

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

New files.

* subversion/bindings/swig/util.i

* subversion/bindings/swig/core.i

Renamed the 'util' module to 'core' since it does not provide

simple utilities but core funtionality. Importing 'util' still

works for compatibility reasons, but be aware that this is likely

to go away in the future.

* subversion/bindings/swig/apr.i

* subversion/bindings/swig/svn_client.i

* subversion/bindings/swig/svn_delta.i

* subversion/bindings/swig/svn_fs.i

* subversion/bindings/swig/svn_ra.i

* subversion/bindings/swig/svn_repos.i

* subversion/bindings/swig/svn_wc.i

Remove leading underscore from module names, and track move of

util.i to core.i

* tools/examples/blame.py

* tools/examples/dumpprops.py

* tools/examples/getfile.py

* tools/examples/geturl.py

* tools/examples/svnlook.py

* tools/examples/svnshell.py

* tools/hook-scripts/tests/mailer-tweak.py

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

* subversion/bindings/swig/python/svn/delta.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/util.py

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

Use 'core' module instead of 'util'. 'util' is deprecated.

Also, use attributes instead of accessor functions.

* subversion/bindings/swig/python/fstest.py

* subversion/bindings/swig/python/setup.py

Removed.

  1. … 29 more files in changeset.
* Just about everything else that wasn't test output, a binary file,

or already to set to CRLF: Set svn:eol-style to native.

  1. … 658 more files in changeset.
whoops. I meant to use a "finally" to ensure that the baton was

closed, whether an exception occurred or not.

Update the example to use the new access baton stuff.

Example script inspired by The Mike.