Checkout Tools
  • last updated 7 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.
Teach stress.pl to accept subversion command line options.

* tools/dev/stress.pl

(check_out, status_update, status_update_commit): Add options passed to

svn command.

(cmd_opts): Add a new option 'o' to accept subversion command line options.

(): Pass options at appropriate places.

* tools/dev/stress.pl

(status_update): Run 'svn up' with '--non-interactive'.

Remember this old tool? With a new coat of poly, she still shines.

(To the extent that Perl can shine.)

* tools/dev/stress.pl

(ParseCommandLine): Actually allow the 'S' command-line argument

the usage message and comments claim this script accepts.

(status_update_commit): Update regular expression that looks for

out-of-dateness errors at commit time.

* 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.
Fix the copyright shown in the version info of the Windows binaries.

* build/win32/svn.rc: Change copyright dates.

(Aargh, unintentional extra crud in the commit... Sorry about the mess.)

Make stress.pl a bit more tolerant about DB_RUNRECOVERY errors if

automatic BDB recovery is enabled.

* tools/dev/stress.pl: Allow 'svn: DB_RUNRECOVERY' in error messages.

  1. … 1 more file in changeset.
Prepare stress.pl for testing with BDB-4.4, make the output more

readable and tighten it up a bit.

* tools/dev/stress.pl: 'use strict' and add 'my' to variable uses as needed.

($stress): Name the script and prepend it to all messages.

($dbrecover): New flag, set when database recovery is enabled (BDB-4.4).

(init_repo): Initialize $dbrecover.

(status_update, status_update_commit): When $dbreocver, make exit

criteria a bit looser.

* tools/dev/stress.pl(init_repo): Add bdb explicitly now that fsfs

is the default repository type, drop the 'svnlook youngest' check

as it prevents testing over a network.

URIs have schemes, not schemas. Fix everywhere.

* CHANGES

* doc/misc-docs/quick_walkthrough.xml

* notes/webdav-general-summary

* subversion/bindings/swig/java/org/tigris/subversion/test/SVNTests.java

* subversion/clients/cmdline/main.c

* subversion/libsvn_client/diff.c

* subversion/libsvn_fs_base/lock.c

* subversion/libsvn_fs_fs/lock.c

* subversion/libsvn_ra/ra_loader.c

* subversion/libsvn_ra_dav/props.c

* subversion/libsvn_ra_local/split_url.c

* subversion/tests/clients/cmdline/basic_tests.py

* subversion/tests/clients/cmdline/externals_tests.py

* subversion/tests/clients/cmdline/getopt_tests.py

* subversion/tests/clients/cmdline/getopt_tests_data/svn--version_stdout

* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout

* subversion/tests/clients/cmdline/getopt_tests_data/svn_version_stdout

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

* tools/dev/stress.pl

* win-tests.py

* www/faq.html

  1. … 20 more files in changeset.
* tools/dev/stress.pl (status_update_commit): Update the list of

"acceptable" errors.

Teach stress.pl to do optional conflict resolution.

* tools/dev/stress.pl

(status_update): Detect and, if asked, resolve textual conflicts.

(status_update_commit): Update call to status_update().

(ParseCommandLine): Add support for the -r option for conflict resolution.

(Main): Update calls to status_update() and status_update_commit().

* tools/dev/stress.pl (init_repo): Add anonymous write access for svn://

Support "--fs-type fsfs".

* tools/client-side/bash_completion (_svnadmin): Add --fs-type.

* tools/dev/stress.pl

(init_repo): Add fsfs parameter.

(ParseCommandLine): Add -f option.

(the main code): Update call to init_repo.

  1. … 1 more file in changeset.
* tools/dev/stress.pl

(ParseCommandLine): Hrm. Make the -h integration mo' better.

* tools/dev/stress.pl

(ParseCommandLine): Add support for -h help request.

* tools/dev/stress.pl

(status_update_commit): Update the $acceptable_error regexp to match

current error messages.

Add an option to stress.pl to disable the status calls.

* tools/dev/stress.pl

(status_update, status_update_commit): Add disable_status parameter.

(ParseCommandLine): Add -d option.

(populate): Update call to status_update_commit.

(the main function): Update calls to status_update and status_update_commit.

Add a -p option to enable setting of svn:eol-style and svn:keywords on

the files.

* tools/dev/stress.pl

(populate): Add props parameter, call 'svn propset' as required.

(ParseCommandLine): Add -p option.

(the main program): Pass -p option to populate.

* tools/dev/stress.pl (status_update_commit): Tidy up the output by

printing the commit standard output before any commit standard

error, and by printing the commit standard error to the script's

standard output.

Whups, fix a double close that slipped through conflict resolution.

* tools/dev/stress.pl (status_update_commit): Close COMMIT_WRITE only once.

Well, Philip beat me on part of this commit, but as I already wrote the

log message, I'm not about to change it. The IPC:Open3 change was added

in revision 5986.

Here's the original log message:

Make stress.pl run on Windows, thanks to an initial patch to use

IPC:Open3 suggested by Philip Martin <philip@codematters.co.uk>.

* tools/dev/stress.pl: Use IPC::Open3.

(status_update_commit): Change log message quoting to double quotes.

Use the open3 function instead of fork to spawn the child process.

Strip trailing CR's from the stderr output before checking for

acceptable errors, otherwise the regexps won't match.

[main script]: Make sure the repository URL always contains 3 slashes

in the schema separator, and no backslashes in the path.

* tools/dev/stress.pl (status_update_commit): Use IPC:Open3 in place

of fork/exec as this might work on Windows.

* tools/dev/stress.pl: Convert tabs to spaces.

stress.pl doesn't have enough options... so add -W to create

repositories using -bdb-txn-nosync and -P to create larger files.

* tools/dev/stress.pl

(init_repo): Add -bdb-txn-nosync stuff

(populate): Add file padding stuff.

(ParseCommandLine): Add -P and -W.

("Main"): Pass -P and -W. Some time ago I was asked about the

fixed seed, so add a comment.

* 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.
Follow up to rev 3748. Use `svnlook youngest' instead of `svnadmin youngest'.

* doc/book/book/ch05.xml: Ditto.

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

* tools/dev/stress.pl: Ditto.

  1. … 2 more files in changeset.
* tools/dev/stress.pl

(populate): Use 'svn mkdir'.

("main"): Create files and directories in trunk/ subdir. Fix off-by-one

bug when checking number of files.

I've never seen "Baseline incorrect" before, but it looks a normal

commit error.

* tools/dev/stress.pl (status_update_commit): Add another acceptable

commit error.

* tools/dev/stress.pl (status_update_commit): Recognise new svn error format.