check-modified.py

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.
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.
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.
Update example code to use automatic memory management.

* tools/examples/check-modified.py

(run): Use automatic memory management.

* tools/examples/revplist.py

(plist): Use automatic memory management.

* tools/examples/blame.py

(getfile): Rename function to blame. Remove pool parameter. Use

automatic memory management.

* tools/examples/getfile.py

(getfile): Remove pool parameter. Use automatic memory management.

  1. … 3 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.
Fix a broken example script.

* check-modified.py (FORCE_COMPARISON): New variable.

(run): Add FORCE_COMPARISON arg to call to svn_wc_text_modified_p.

Fix some usage of pre-1.0 APIs in the example scripts.

* tools/examples/revplist.py: Add fs_config argument to svn.fs.new() call.

* tools/examples/check-modified.py: Add force_comparison argument to

svn_wc_text_modified_p() call.

  1. … 1 more file 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.
Patch by: Jon Middleton <jjm@ixtab.org.uk>

* subversion/bindings/swig/svn_wc.i

Set svn_boolean_t * as a OUTPARAM.

* tools/examples/check-modified.py

Added - a python script that checks for modified files.

  1. … 1 more file in changeset.