Checkout Tools
  • last updated 6 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.
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.
Delete code used only by Python <2.4.

* build/generator/util/executable.py:

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

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

* subversion/tests/cmdline/update_tests.py:

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

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

* tools/hook-scripts/verify-po.py: Delete code used only by Python <2.4.

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

Try to use subprocess module in 'tools' directory.

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

* tools/hook-scripts/verify-po.py: Try to use subprocess module.

* tools/backup/hot-backup.py.in: Fix a typo.

  1. … 2 more files in changeset.
Added svn:executable flags to various Python files.

* build/generator/ezt.py,

subversion/bindings/swig/python/tests/trac/test.py,

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

tools/server-side/svn_server_log_parse.py,

tools/po/l10n-report.py,

packages/python-windows/setup.py:

Make all Python files with a Shebang executable.

Approved by: danielsh

  1. … 5 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 verify-po.py work with pre-2.3 Pythons.

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

(main): Use UnicodeError instead of the subclass UnicodeDecodeError

which is new in Python 2.3.

Add shebang line.
Allow users to specify the path of msgfmt, and key off that setting as to

whether to use the thing or not.

Make verify-po.py optionally use msgfmt to check the syntax of po files.

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

(USE_MSGFMT): Conditional to enable msgfmt checking.

(MsgFmtChecker): New class to run msgfmt via a pipe.

(ChangeReceiver.close_file): Run po files thought MsgFmtChecker.

* tools/hook-scripts/verify-po.py: Fix typo in file doc string.

* tools/hook-scripts/verify-po.py (ChangeReceiver): Remove unused functions

as they're already no-ops in the base class.

* tools/hook-scripts/verify-po.py: Pre-commit hook, checks that PO files

are encoded in UTF-8.