Here is a list of Python scripts importing svn.* in source tree.
AFAIK those except mailer.py have not changed after we decided to map
all char * in C API to bytes in swig Python 3 bindings, so they may
not work with Python 3.
Just for reference.
[[[
$ : Ensure all import statements do not contain tab character.
$ find . \( -name .svn -or -name bindings \) -prune -or\
> -name '*.py' -print0 |\
> xargs -0 egrep -e '(^|[ ])import[ ]' | fgrep ' '
$ : Ensure no 'import ...' statement with continuation lines.
$ find . \( -name .svn -or -name bindings \) -prune -or\
> -name '*.py' -print0 |\
> xargs -0 egrep -e '^ *import .+\\$'
$ echo;find . \( -name .svn -or -name bindings \) -prune -or\
> -name '*.py' -print0 |\
> xargs -0 egrep -l -e\
> 'import (.* )?svn([., ]|$)|from +svn(\.[a-z]+)? +import' |\
> sed -e 's/^\.\///' | sort
contrib/client-side/svn_export_empty_files.py
contrib/client-side/svnmerge/svnmerge-migrate-history-remotely.py
contrib/client-side/svnmerge/svnmerge-migrate-history.py
contrib/hook-scripts/case-insensitive.py
contrib/hook-scripts/pre-commit-check.py
contrib/hook-scripts/pre-lock-require-needs-lock.py
contrib/hook-scripts/remove-zombie-locks.py
contrib/server-side/add-needs-lock.py
contrib/server-side/svn-tweak-author.py
tools/client-side/mergeinfo-sanitizer.py
tools/dev/gen-javahl-errors.py
tools/dev/verify-history.py
tools/dev/which-error.py
tools/examples/blame.py
tools/examples/check-modified.py
tools/examples/dumpprops.py
tools/examples/get-location-segments.py
tools/examples/getfile.py
tools/examples/geturl.py
tools/examples/putfile.py
tools/examples/revplist.py
tools/examples/svnlook.py
tools/examples/svnshell.py
tools/examples/walk-config-auth.py
tools/hook-scripts/CVE-2017-9800-pre-commit.py
tools/hook-scripts/control-chars.py
tools/hook-scripts/log-police.py
tools/hook-scripts/mailer/mailer.py
tools/hook-scripts/mailer/tests/mailer-tweak.py
tools/hook-scripts/persist-ephemeral-txnprops.py
tools/hook-scripts/validate-extensions.py
tools/hook-scripts/verify-po.py
tools/server-side/svn_server_log_parse.py
tools/server-side/test_svn_server_log_parse.py
]]]
Cheers,
--
Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>/<futatuki_at_poem.co.jp>
Received on 2019-11-05 01:10:48 CET