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. … 171 more files in changeset.
Use isinstance() for type comparisons.

* build/generator/util/executable.py:

* build/win32/make_dist.py:

* gen-make.py:

* subversion/tests/cmdline/svnadmin_tests.py:

* subversion/tests/cmdline/svndumpfilter_tests.py:

* tools/bdb/skel.py:

* www/toctool.py: Use isinstance() for type comparisons.

  1. … 6 more files in changeset.
Use 'while True' instead of 'while 1'.

* build/generator/ezt.py:

* build/generator/gen_base.py:

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

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

* subversion/tests/cmdline/info_tests.py:

* subversion/tests/cmdline/log_tests.py:

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

* tools/bdb/skel.py:

* tools/dev/normalize-dump.py:

* tools/dev/po-merge.py:

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

* tools/dev/verify-history.py:

* tools/dev/which-error.py:

* tools/examples/blame.py:

* tools/examples/getfile.py:

* tools/examples/svnlook.py:

* tools/examples/svnshell.py:

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

* tools/hook-scripts/verify-po.py: Use 'while True' instead of 'while 1'.

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

Use input() instead of raw_input() when using Python 3.

(input() was renamed to eval(input()), raw_input() was renamed to input().)

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

(main): Use input() instead of raw_input() when using Python 3.

Python 3 compatibility:

Don't use deprecated members of types module.

* build/generator/ezt.py:

* subversion/bindings/swig/python/tests/client.py:

* subversion/bindings/swig/python/tests/wc.py:

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

* tools/bdb/skel.py: Don't use deprecated members of types module.

* tools/hook-scripts/mailer/mailer.py: Don't import types module.

  1. … 5 more files in changeset.
Use sorted() to simplify some code.

* build/generator/gen_base.py:

* build/generator/gen_make.py:

* build/generator/gen_vcnet_vcproj.py:

* build/win32/make_dist.py:

* doc/tools/bin/find-xsl.py:

* gen-make.py:

* subversion/bindings/swig/python/tests/mergeinfo.py:

* subversion/bindings/swig/python/tests/ra.py:

* subversion/tests/cmdline/changelist_tests.py:

* subversion/tests/cmdline/svnadmin_tests.py:

* subversion/tests/cmdline/svnlook_tests.py:

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

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

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

* tools/dev/contribulyze.py:

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

* tools/dev/normalize-dump.py:

* tools/dev/which-error.py:

* tools/examples/svnshell.py:

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

* tools/po/l10n-report.py: Use sorted() to simplify some code.

  1. … 20 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. … 37 more files in changeset.
Python 3 compatibility:

Use dict.keys(), dict.values() and dict.items() instead of dict.iterkeys(),

dict.itervalues() and dict.iteritems().

Use list(dict.keys()), list(dict.values()) and list(dict.items()) instead of

dict.keys(), dict.values() and dict.items(). Function calls with 'for', 'in' or

len() weren't updated.

* build/generator/ezt.py:

* build/generator/gen_base.py:

* build/generator/gen_vcnet_vcproj.py:

* build/generator/gen_win.py:

* build/win32/make_dist.py:

* gen-make.py:

* subversion/bindings/ctypes-python/csvn/types.py:

* subversion/bindings/ctypes-python/examples/log.py:

* subversion/bindings/ctypes-python/examples/trunkify.py:

* subversion/bindings/swig/python/tests/mergeinfo.py:

* subversion/bindings/swig/python/tests/ra.py:

* subversion/bindings/swig/python/tests/wc.py:

* subversion/tests/cmdline/externals_tests.py:

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

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

* tools/dev/contribulyze.py:

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

* tools/dev/normalize-dump.py:

* tools/dev/trails.py:

* tools/dev/which-error.py:

* tools/examples/svnshell.py:

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

* tools/hook-scripts/svnperms.py: Use dict.keys(), dict.values() and

dict.items() instead of dict.iterkeys(), dict.itervalues() and

dict.iteritems(). Use list(dict.keys()), list(dict.values()) and

list(dict.items()) instead of dict.keys(), dict.values() and dict.items().

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

Use list comprehensions or list(map()) instead of map().

* build/generator/gen_base.py:

* build/generator/gen_make.py:

* build/generator/gen_vcnet_vcproj.py:

* build/generator/gen_win.py:

* build/generator/swig/header_wrappers.py:

* build/run_tests.py:

* subversion/tests/cmdline/changelist_tests.py:

* subversion/tests/cmdline/checkout_tests.py:

* subversion/tests/cmdline/getopt_tests.py:

* subversion/tests/cmdline/merge_tests.py:

* subversion/tests/cmdline/svnadmin_tests.py:

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

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

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

* subversion/tests/cmdline/tree_conflict_tests.py:

* tools/bdb/skel.py:

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

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

* tools/dist/write-announcement.py:

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

* win-tests.py: Use list comprehensions or list(map()) instead of map().

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

Don't use 'has_key'.

* build/generator/ezt.py:

* build/generator/gen_base.py:

* build/generator/gen_win.py:

* gen-make.py:

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

* subversion/bindings/swig/python/tests/client.py:

* subversion/bindings/swig/python/tests/ra.py:

* subversion/tests/cmdline/changelist_tests.py:

* subversion/tests/cmdline/info_tests.py:

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

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

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

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

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

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

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

* tools/dev/contribulyze.py:

* tools/dev/normalize-dump.py:

* tools/dev/verify-history.py:

* tools/examples/blame.py:

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

* tools/hook-scripts/svnperms.py: Use 'in' instead of 'has_key'.

  1. … 20 more files in changeset.
Add some missing svn:eol-style properties.

* www/toctool.py,

build/win32/make_gem.rb,

subversion/include/svn_compat.h,

subversion/include/svn_iter.h,

subversion/libsvn_diff/diff_memory.c,

subversion/libsvn_subr/iter.c,

subversion/bindings/javahl/native/ConflictResolverCallback.cpp,

subversion/bindings/javahl/native/DiffSummaryReceiver.cpp,

subversion/bindings/javahl/native/org_tigris_subversion_javahl_Version.cpp,

subversion/bindings/javahl/native/org_tigris_subversion_javahl_Path.cpp,

subversion/bindings/javahl/native/org_tigris_subversion_javahl_NativeResources.cpp,

subversion/bindings/javahl/native/CopySources.cpp,

subversion/bindings/javahl/native/RevisionRange.cpp,

subversion/bindings/javahl/native/ProgressListener.cpp,

subversion/bindings/javahl/native/ListCallback.cpp,

subversion/bindings/javahl/src/org/tigris/subversion/javahl/ConflictDescriptor.java,

subversion/bindings/javahl/src/org/tigris/subversion/javahl/ConflictResolverCallback.java,

subversion/bindings/javahl/src/org/tigris/subversion/javahl/BlameCallback2.java,

subversion/bindings/javahl/src/org/tigris/subversion/javahl/ListCallback.java,

subversion/bindings/swig/python/tests/delta.py,

subversion/bindings/swig/python/tests/wc.py,

subversion/bindings/swig/python/tests/repository.py,

subversion/bindings/swig/python/tests/ra.py,

subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb,

subversion/bindings/swig/ruby/test/test-unit-ext/backtrace-filter.rb,

subversion/bindings/swig/ruby/test/test-unit-ext/always-show-result.rb,

subversion/bindings/swig/ruby/test/test-unit-ext/long-display-for-emacs.rb,

subversion/bindings/swig/ruby/test/test-unit-ext.rb,

subversion/tests/cmdline/svneditor.py,

subversion/tests/cmdline/depth_tests.py,

contrib/client-side/svn_update.pl,

contrib/hook-scripts/check-mime-type.pl,

tools/client-side/svn-graph.pl,

tools/dist/getsigs.pl,

tools/dist/write-announcement.py,

tools/hook-scripts/commit-email.rb,

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

tools/hook-scripts/svn2feed.py,

tools/bdb/whatis-rep.py,

tools/dev/contribulyze.py,

tools/dev/graph-dav-servers.py,

tools/examples/svnlog2html.rb,

tools/examples/svnlook.rb,

tools/examples/svnshell.rb,

tools/po/l10n-report.py,

packages/python-windows/setup.py:

Set svn:eol-style to native.

  1. … 45 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.
For all executable Python scripts:

- set svn:executable if not already set.

- add/change shebang to '#!/usr/bin/env python' if not already that.

* build/generator/extractor.py

* build/strip-po-charset.py

* build/run_tests.py

* subversion/libsvn_subr/genctype.py

* tools/test-scripts/svntest/encode-base64.py

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

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

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

* tools/bdb/whatis-rep.py

* tools/dev/mlpatch.py

* tools/dev/verify-history.py

* tools/dev/normalize-dump.py

* tools/examples/check-modified.py

* contrib/hook-scripts/case-insensitive.py

* contrib/hook-scripts/check-case-insensitive.py

* contrib/server-side/authz_svn_group.py

  1. … 13 more files in changeset.
* tools/bdb/whatis-rep.py

Add some documentation, which should probably be printed by the

usage instructions.

(main): Tweak printing of the usage instructions to use the print

statement instead of file.write().

* tools/bdb/whatis-rep.py: New file.

Fix bug in Python skel handling library.

* tools/dev/skel.py (SvnDiffWindow._unparse_structure): New.

(Rep.unparse): Use SvnDiffWindow._unparse_structure.

* tools/bdb/svnfs.py: Fix typo in case of exception name 'DBNotFoundError'.

Set svn:eol-style='native' on some text files that were lacking it.

  1. … 41 more files in changeset.
* tools/bdb/svn-bdb-view.py (am_txns):

Improve the sort order of viewed transactions.

* tools/bdb/svn-bdb-view.py: A few small enhancements to the highlighting of

damaged representations.

* tools/bdb/svnfs.py (Ctx.__init__): Fix BDB environment creation to use the

right deadlock detection policy. Simplify unnecessary code. Take full

control over the creation of the BDB environment, to ensure it is done with

the correct setting.

Make the tools/bdb tools more concise to use in interactive Python sessions.

* tools/bdb/svnfs.py (Ctx): Merge the open() method into __init__.

* tools/bdb/svn-bdb-view.py: Adapt to the above change.

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

Add a script which wipes out the text data for every file in a bdb repository.

This might be useful for converting a repository containing confidential code

into a distributable bug reproduction testcase.

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

Improvements to the direct-access BDB repository structure tools.

* skel.py: Add default initializer values to all the types of skel objects.

Represent svndiff windows as a class, not a fragment of skel structure.

* svn-bdb-view.py: Adapt to the changed representation of windows, fixing some

bugs due to the obscurity of the previous interface.

* tools/bdb/svn-bdb-view.py (am_changes): Show the changes in time-sorted order.

Add some useful tools for low-level work with BDB repositories.

* tools/bdb: New directory.

* tools/bdb/skel.py: New - a skel parser/unparser.

* tools/bdb/svnfs.py: New - convenience handle for opening all the databases

of a subversion repository.

* tools/bdb/svn-bdb-view.py: New - a pretty printer for BDB repositories.