Checkout Tools
  • last updated 1 hour 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.
For every getopt-using Python script which does not already do so,

use GNU-style getopt if available.

* gen-make.py

* tools/hook-scripts/log-police.py

* tools/hook-scripts/svnperms.py

* tools/dev/contribulyze.py

* tools/dev/iz/ff2csv.py

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

* tools/dev/lock-check.py

* tools/dev/scramble-tree.py

* tools/examples/dumpprops.py

* tools/examples/revplist.py

* tools/examples/putfile.py

* tools/examples/getfile.py

* tools/examples/blame.py

* contrib/client-side/svnmerge.py

* contrib/hook-scripts/svn2rss.py

* build/win32/make_dist.py

  1. … 15 more files in changeset.
Make some of our Python tools use the svn.core.svn_path_canonicalize()

instead of doing their own canonicalization stuffs.

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

(canonicalize_for_svn): Remove.

(__main__): Use svn_path_canonicalize() instead of canonicalize_for_svn().

* tools/examples/svnshell.py

(SVNShell.__init__): Use svn_path_canonicalize() to canonicalize paths.

* tools/examples/blame.py

(blame): Use svn_path_canonicalize() to canonicalize paths.

* tools/examples/putfile.py

(putfile): Use svn_path_canonicalize() to canonicalize paths.

* tools/examples/dumpprops.py

(dumpprops): Use svn_path_canonicalize() to canonicalize paths.

* tools/examples/getfile.py

(getfile): Use svn_path_canonicalize() to canonicalize paths.

  1. … 5 more files in changeset.
Use automatic pool management in tools/examples/dumpprops.py.

* tools/examples/dumpprops.py

(dumpprops): Remove pool parameter. Use automatic pool management.

(print_props, walk_tree, 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.
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.
* tools/examples/dumpprops.py: Change #! line from "python2.2" to "python2".

Naturally, "python2.2" does not exist on systems using Python 2.3 !

Update bindings usage in most example scripts. Now they don't raise

exeptions, and:

- they call repos.svn_repos_open instead of fs.new

- they use core.run_app everywhere

- they use repos transaction functions, instead of fs ones

- they work :-)

Patch by: Tomek Meka <tmeka@gmx.net>

  1. … 5 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.
handy tool for inspecting properties