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:

Don't assing values to True/False keywords.

* build/generator/gen_make.py:

* build/generator/gen_msvc_dsp.py:

* build/generator/gen_vcnet_vcproj.py:

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

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

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

* tools/dev/contribulyze.py:

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

* tools/hook-scripts/mailer/mailer.py: Don't assing values to True/False keywords.

  1. … 8 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. … 15 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.
Protect against the feared is_canonical() assert, and factor out a

bunch of repeated usage/exit logic.

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

(usage_and_exit): New, replaces ...

(usage): ... this now-deleted function.

(main): Use usage_and_exit() instead of usage(). Also, call

svn_path_canonicalize() on the input path.

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

(fix_txn, fix_rev): Don't set a new log message if there's no change.

Suggested by: philip

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

(main): Check number of args more strictly.

Suggested by: philip

Add a pre-commit hook script to alleviate issue #1870 (svn adds an

extra blank line to log messages). While this does not fix the issue,

it can at least make 'svn log' output look consistent.

Review by: jerenkrantz

danderson

djames

* tools/hook-scripts/log-police.py: New file.

* tools/hook-scripts/README: Describe it.

  1. … 1 more file in changeset.