Log of /subversion/trunk/tools/client-side/bash_completion
Parent Directory
| Revision Log
Revision
1875921 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 31 08:53:55 2020 UTC
(4 years, 3 months ago)
by
stsp
File length: 49554 byte(s)
Diff to
previous 1857624
(
colored)
Introduce 'svnadmin build-repcache' command.
Implement the 'svnadmin build-repcache' CLI and add an ioctl API for building
the representation cache.
The implementation iterates over revisions in the specified range and recursively
processes the changed nodes, starting from the corresponding revision roots.
For each changed node, it ensures that its data and property representations
exist in the rep-cache. The nodes are processed in the same order as when
committing a transaction (see write_final_rev() function in libsvn_fs_fs/transaction.c),
so that the rep-cache.db files are fully consistent.
* subversion/svnadmin/svnadmin.c
(cmd_table): Add and document the 'build-repcache' command.
(subcommand_build_repcache,
build_rep_cache,
build_rep_cache_progress_func): New.
* subversion/include/svn_error_codes.h
(SVN_ERR_FS_REP_SHARING_NOT_ALLOWED,
SVN_ERR_FS_REP_SHARING_NOT_SUPPORTED): New error codes.
* subversion/include/private/svn_fs_fs_private.h
(svn_fs_fs__ioctl_build_rep_cache_input_t,
SVN_FS_FS__IOCTL_BUILD_REP_CACHE): New.
* subversion/libsvn_fs_fs/fs.c
(fs_ioctl): Handle SVN_FS_FS__IOCTL_BUILD_REP_CACHE.
* subversion/libsvn_fs_fs/fs_fs.h
* subversion/libsvn_fs_fs/fs_fs.c
(): Include 'low_level.h'.
(svn_fs_fs__build_rep_cache,
reindex_node,
ensure_representation_sha1): New. Iterate over revisions and recursively
process the changed nodes. For each changed node, ensure that its data
and property representations exist in the rep-cache.
* subversion/tests/cmdline/svnadmin_tests.py
(build_repcache): New test.
(test_list): Add the new test.
* subversion/tests/libsvn_fs_fs/fs-fs-private-test.c
(): Include 'libsvn_fs_fs/rep-cache.h' and 'libsvn_fs/fs-loader.h'.
(build_rep_cache): New test.
(test_funcs): Add the new test.
* tools/client-side/bash_completion
(_svnadmin): Add the 'build-repcache' command.
Patch by: Denis Kovalchuk <denis.kovalchuk@visualsvn.com>
Revision
1857624 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 16 06:59:15 2019 UTC
(5 years, 3 months ago)
by
julianfoad
File length: 49457 byte(s)
Diff to
previous 1841091
(
colored)
Report a revision's size on disk.
This adds an 'svnadmin rev-size' CLI and a libsvn_fs ioctl API to report
the total size in bytes of the representation on disk of a revision,
including rev-props, excluding FSFS indexes.
$ svnadmin rev-size /path/to/repo -r1
1337 bytes in revision 1
* subversion/svnadmin/svnadmin.c
(cmd_table): Add and document the 'rev-size' command.
(revision_size,
subcommand_rev_size): New.
* subversion/include/private/svn_fs_fs_private.h
(svn_fs_fs__ioctl_revision_size_input_t,
svn_fs_fs__ioctl_revision_size_output_t,
SVN_FS_FS__IOCTL_REVISION_SIZE): New.
* subversion/libsvn_fs_fs/fs.c
(fs_ioctl): Handle SVN_FS_FS__IOCTL_REVISION_SIZE.
* subversion/libsvn_fs_fs/fs_fs.h
* subversion/libsvn_fs_fs/stats.c
(svn_fs_fs__revision_size,
rev_size_index_entry_cb,
rev_size_baton_t): New.
* subversion/libsvn_fs_fs/revprops.h
* subversion/libsvn_fs_fs/revprops.c
(svn_fs_fs__get_revision_props_size): New.
* tools/client-side/bash_completion
(_svnadmin): Add 'rev-size'.
Revision
1841091 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 17 16:48:54 2018 UTC
(5 years, 10 months ago)
by
julianfoad
File length: 49372 byte(s)
Diff to
previous 1835407
(
colored)
Fix SVN-4776: Shelving: remove non-x-prefixed command aliases.
Remove the non-x-prefixed aliases such as 'svn shelve', leaving only the
'svn x-shelve' form, because this feature is experimental and the command-
line syntax for it is not yet stable.
* subversion/svn/svn.c
Remove the non-x-prefixed aliases of shelving subcommands.
* subversion/tests/cmdline/shelf_tests.py
Change all shelving subcommands to the x-prefixed forms.
* tools/client-side/bash_completion
(_svn): Change all shelving subcommands to the x-prefixed forms.
Revision
1835407 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 9 10:34:28 2018 UTC
(6 years ago)
by
julianfoad
File length: 49336 byte(s)
Diff to
previous 1825911
(
colored)
Shelving: implement shelf diff summary mode.
"svn shelf-diff --summarize"
* subversion/include/private/svn_client_private.h,
subversion/libsvn_client/client.h,
subversion/libsvn_client/diff_summarize.c
(svn_client__get_diff_summarize_callbacks): Move from a private to a
semi-public header file. Remove 'const' from the output parameter.
* subversion/libsvn_client/diff.c
(svn_client_diff_summarize2,
svn_client_diff_summarize_peg2): Tweak to match that 'const' change.
* subversion/svn/cl.h,
subversion/svn/diff-cmd.c
(svn_cl__get_diff_summarize): Newly exposed API.
(svn_cl__diff): Use it.
* subversion/svn/shelf-cmd.c
(shelf_diff): Implement summary mode.
* subversion/svn/svn.c
(svn_cl__cmd_table): Add '--summarize' option to shelf-diff.
* subversion/tests/cmdline/shelf_tests.py
(shelf_diff_simple): Extend to test summary mode.
* tools/client-side/bash_completion
(_svn): Add '--summarize' option to shelf-diff.
Revision
1825911 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 5 16:32:52 2018 UTC
(6 years, 4 months ago)
by
julianfoad
File length: 49324 byte(s)
Diff to
previous 1825728
(
colored)
Shelving: new 'shelf-list-by-paths' command.
* subversion/svn/cl.h
(svn_cl__shelf_list_by_paths): New.
* subversion/svn/shelf-cmd.c
(targets_relative_to_wcs,
targets_relative_to_a_wc,
shelf_list_by_paths,
svn_cl__shelf_list_by_paths): New.
* subversion/svn/svn.c
(svn_cl__cmd_table): Describe the new command.
* tools/client-side/bash_completion
(_svn): Add the new command.
Revision
1825728 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 2 14:25:25 2018 UTC
(6 years, 4 months ago)
by
julianfoad
File length: 49258 byte(s)
Diff to
previous 1821995
(
colored)
Shelving: add 'svn unshelve --drop' option.
* subversion/svn/cl.h
(svn_cl__opt_state_t): Add new 'drop' flag.
* subversion/svn/shelf-cmd.c
(svn_cl__shelf_unshelve): Drop after shelving, if successful.
* subversion/svn/svn.c
(svn_cl__longopt_t,
svn_cl__options,
svn_cl__cmd_table,
sub_main): Add new 'drop' option.
* tools/client-side/bash_completion
(_svn): Add new 'drop' option.
Revision
1821994 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 23 12:34:48 2018 UTC
(6 years, 6 months ago)
by
julianfoad
File length: 49338 byte(s)
Diff to
previous 1821862
(
colored)
Shelving: let 'shelve' and 'shelf-save' accept --with-revprop.
This is for consistency with other commands that take a log message, as in
principle there is nothing ultra-special about the log message property.
At present any non-log-message revprops are saved in the shelf but there are
only private APIs to retrieve them (svn_client__shelf_revprop_get, _list).
* subversion/include/svn_client.h,
subversion/libsvn_client/shelf.c
(svn_client_shelf_t): Add a comment.
(svn_client_shelf_set_log_message): Add revprops parameter.
* subversion/svn/shelf-cmd.c
(shelve,
shelf_shelve,
svn_cl__shelf_shelve): Pass the revprops through.
* subversion/svn/svn.c
(svn_cl__cmd_table): Let 'shelf-save' and 'shelve' accept the standard set
of log-message options which includes --with-revprop.
* tools/client-side/bash_completion
(_svn): Let 'shelf-save' and 'shelve' accept the standard set
of log-message options which includes --with-revprop.
Revision
1821862 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 22 13:16:21 2018 UTC
(6 years, 6 months ago)
by
julianfoad
File length: 49416 byte(s)
Diff to
previous 1820046
(
colored)
Make trunk run Shelving v2 by default.
Update the tests and Bash-completion from the 'shelve-checkpoint' branch.
Keep the v1 APIs and a compile-time option to use the v1 CLI.
* subversion/svn/svn.c
(WITH_SHELVE_V1): Undefine.
* subversion/tests/cmdline/getopt_tests_data/svn_help_stdout,
subversion/tests/cmdline/getopt_tests_data/svn--help_stdout
Update.
* subversion/tests/cmdline/shelf_tests.py
Rename from 'shelf_tests.py'.
(checkpoint_basic): New test.
(test_list): Run it.
* tools/client-side/bash_completion
(_svn): Update.
Revision
1812050 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 12 21:02:39 2017 UTC
(6 years, 9 months ago)
by
julianfoad
File length: 48077 byte(s)
Diff to
previous 1811577
(
colored)
Tweak the help and add Bash completion for 'svnadmin dump --include/exclude'.
A follow-up to r1811992.
* CHANGES
Note this enhancement.
* subversion/svnadmin/svnadmin.c
(options_table): Document the '--pattern' glob syntax, like r1783741 did
for svndumpfilter.
(cmd_table): Say more about exclude/include in the help for 'dump'.
(ary_prefix_match): Note that this...
* subversion/svndumpfilter/svndumpfilter.c
(ary_prefix_match): ... and this are duplicates.
* tools/client-side/bash_completion
(_svnadmin): Add the --exclude, --include and --pattern options.
Revision
1811577 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 9 14:28:39 2017 UTC
(6 years, 9 months ago)
by
julianfoad
File length: 48014 byte(s)
Diff to
previous 1807836
(
colored)
* tools/client-side/bash_completion
(_svndumpfilter): Add the missing --pattern and --drop-all-empty-revs options.
Suggested by: ycdtosa
Revision
1807836 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 8 22:36:38 2017 UTC
(6 years, 10 months ago)
by
kotkov
File length: 47982 byte(s)
Diff to
previous 1802196
(
colored)
svnadmin: Introduce the `--normalize-props` option for the load and
load-revprops commands.
Currently, the only performed normalization is the automatic translation
of non-LF line endings in the svn: property values. Apparently, this is
a common issue reported by our users, as Subversion versions prior to 1.6
allowed such values for properties like svn:log and so they can be present
in the dump files. The behavior before this changeset is that a user can
either force loading the dump with such invalid properties using the
--bypass-prop-validation (that affects reading them in the future),
manually repair the dump file or use a tool like svnsync that performs
the property normalization. It would be better if the users had an option
to fix this right in the svnadmin load command.
See also the corresponding FAQ entry and related issues that have been
fixed in svnsync and svnrdump:
https://subversion.apache.org/faq.html#fix-nonLF-log
https://issues.apache.org/jira/browse/SVN-3404
https://issues.apache.org/jira/browse/SVN-4263
* subversion/include/svn_repos.h
(svn_repos_load_fs6): New version of svn_repos_load_fs5() accepting the
new `normalize_props` argument.
(svn_repos_load_fs5): Deprecate.
(svn_repos_load_fs_revprops): Accept the new `normalize_props` argument.
(svn_repos_get_fs_build_parser6): New version of
svn_repos_get_fs_build_parser5() accepting the new `normalize_props`
argument.
* subversion/include/private/svn_repos_private.h
(svn_repos__normalize_prop): New private helper. The `normalized_p`
argument will be currently unused by all calling sites, but it's added
as the groundwork to simplify implementing the notifications about
normalized properties in the future.
* subversion/libsvn_repos/deprecated.c
(svn_repos_load_fs5, svn_repos_get_fs_build_parser5): Implement by
forwarding to the new versions of these functions.
* subversion/libsvn_repos/fs-wrap.c
(): Include svn_subst.h.
(svn_repos__normalize_prop): Implement this new helper function.
The implementation is close to how svn_rdump__normalize_prop() is
written, but this function accepts two pools and handles the new
`normalized_p` output argument.
* subversion/libsvn_repos/load-fs-vtable.c
(struct parse_baton): Add new `normalize_props` field.
(change_rev_prop): Accept new `normalize_props` argument, call the
new helper function if it's set.
(close_revision): Normalize the revision properties if necessary.
(svn_repos_get_fs_build_parser6): New, replacing ...
(svn_repos_get_fs_build_parser5): ...this function.
(svn_repos_load_fs6): New, replacing ...
(svn_repos_load_fs5): ...this function.
(revprops_close_revision): Update call to change_rev_prop().
(build_revprop_parser): Accept new `normalize_props` argument, use it
to initialize the new field in the parse_baton.
(svn_repos_load_fs_revprops): Handle the new `normalize_props` argument
by forwarding it to build_revprop_parser().
* subversion/svnadmin/svnadmin.c
(svnadmin__cmdline_options_t, options_table): Add svnadmin__normalize_props.
(cmd_table): Enable the new option for load and load-revprops commands.
(struct svnadmin_opt_state): Add new `normalize_props` field and ...
(sub_main): ...initialize it here.
(subcommand_load, subcommand_load_revprops): Normalize properties when
running with --normalize-props. Use separate hints when encountering
invalid properties with non-LF line endings and all other kinds of
invalid properties.
* subversion/svnrdump/svnrdump.h
(svn_rdump__normalize_prop): Remove this declaration. This function is
now superseded by the new svn_repos__normalize_prop() helper.
* subversion/svnrdump/util.c
(): Include svn_repos_private.h, drop other includes.
(svn_rdump__normalize_prop): Remove. This function is now superseded
by the new svn_repos__normalize_prop() helper.
(svn_rdump__normalize_props): Use the new svn_repos__normalize_prop()
helper function.
* subversion/svnrdump/load_editor.c
(set_revision_property, set_node_property): Use the new
svn_repos__normalize_prop() helper function.
* subversion/tests/libsvn_repos/dump-load-test.c
(test_load_bad_props): Use the new svn_repos_load_fs6() function, keep
the previous behavior unchanged, i.e., do not normalize the properties.
* subversion/tests/cmdline/svntest/actions.py
(run_and_verify_load, load_repo): Accept new `normalize_props` argument.
* subversion/tests/cmdline/svnadmin_tests.py
(load_bad_props): Test loading with --normalize-props. Check for the error
codes reported during load with non-LF line endings and without the new
option. In cases when the load is successful, check the resulting
svn:log property value in the repository.
* tools/client-side/bash-completion
(_svnadmin): Extend completion info.
Revision
1738021 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 6 18:42:07 2016 UTC
(8 years, 3 months ago)
by
kotkov
File length: 47906 byte(s)
Diff to
previous 1736357
(
colored)
Introduce `--file' option for svnadmin dump, dump-revprops, load and
load-revprops subcommands.
This option allows specifying input or output files, instead of using STDIN
or STDOUT. Using --file (-F) should probably work a bit faster, but, what
is more important, this option allows working with dump files in a shell
that performs additional processing when piping data and thus can silently
corrupt the dumps. For instance, that's how Microsoft PowerShell currently
works.
* subversion/svnadmin/svnadmin.c
(options_table): Propagate existing description for -F ...
(cmd_table): ...here. Accept -F in the dump, dump-revprops, load
and load-revprops subcommands and provide corresponding description
overrides.
(svnadmin_opt_state): Replace the `filedata' field with `file'.
(sub_main): Remember just the filename given with -F, instead of reading
and saving the content of that file to opt_state.
(subcommand_freeze): Open opt_state->file and parse its content if
necessary.
(subcommand_dump, subcommand_dump_revprops): Open opt_state->file
or STDIN, depending on whether -F was specified. Overwrite existing
files to match the behavior of svnadmin dump > file.
(subcommand_load, subcommand_load_revprops): Open opt_state->file
or STDOUT, depending on whether -F was specified.
* subversion/tests/cmdline/svnadmin_tests.py
(dump_to_file, load_from_file): New tests.
(test_list): Add reference to new tests.
* tools/client-side/bash_completion
(_svnadmin): Extend completion info for `load' and `dump'.
Revision
1736357 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 23 17:39:36 2016 UTC
(8 years, 4 months ago)
by
kotkov
File length: 47886 byte(s)
Diff to
previous 1703699
(
colored)
Introduce `--no-flush-to-disk' option for `svnadmin load'.
The option can be used to to dramatically speed up the load process when
there's no need to ensure that the resulting data survives a system crash
or power loss — e.g., when loading a dump into a fresh new repository.
This is one of the ideas in http://svn.haxx.se/dev/archive-2015-09/0187.shtml
(Subject: "Whiteboard -- topics list on the white board").
* subversion/include/svn_fs.h
(SVN_FS_CONFIG_NO_FLUSH_TO_DISK): New option.
* subversion/libsvn_fs_fs/fs.h
(fs_fs_data_t): Add `flush_to_disk' boolean field.
* subversion/libsvn_fs_fs/fs.с
(initialize_fs_struct): Initialize the new field.
* subversion/libsvn_fs_fs/fs_fs.c
(read_global_config): Set the new field based on what's in fs->config.
* subversion/libsvn_fs_fs/util.h
(svn_fs_fs__move_into_place): Accept a new `flush_to_disk' argument.
* subversion/libsvn_fs_fs/util.c
(svn_fs_fs__move_into_place): Make the flush optional based on the
new argument.
* subversion/libsvn_fs_fs/transaction.c
(get_and_increment_txn_key_body): Don't flush to disk if that's allowed.
(write_final_revprop): Accept a new `flush_to_disk' argument. Make the
flush optional based on the new argument.
(commit_body): Don't flush to disk if that's allowed. Adjust calls to
write_final_revprop() and svn_fs_fs__move_into_place().
* subversion/libsvn_fs_fs/revprops.c
(switch_to_new_revprop): Adjust the call to svn_fs_fs__move_into_place().
Keep the existing behavior and always flush to disk.
* subversion/svnadmin/svnadmin.c
(svnadmin__no_flush_to_disk): New enum value.
(options_table): Define --no-flush-to-disk option.
(cmd_table): Allow `load' to accept --no-flush-to-disk.
(svnadmin_opt_state): Add `no_flush_to_disk' member.
(open_repos): Move below the definition of svnadmin_opt_state. Accept
an svnadmin_opt_state structure as one of the arguments and initialize
the new SVN_FS_CONFIG_NO_FLUSH_TO_DISK option based on it.
(subcommand_crashtest, subcommand_deltify, subcommand_dump,
subcommand_dump_revprops, subcommand_load, subcommand_load_revprops,
subcommand_lstxns, subcommand_recover, subcommand_rmtxns, set_revprop,
subcommand_setuuid, subcommand_pack, subcommand_verify, subcommand_info,
subcommand_lock, subcommand_lslocks, subcommand_rmlocks,
subcommand_unlock): Adjust these callers of open_repos().
(main): Handle --no-flush-to-disk option.
* subversion/tests/cmdline/svnadmin_tests.py
(load_no_flush_to_disk): New test.
(test_list): Add reference to new test.
* tools/client-side/bash_completion
(_svnadmin): Add new option to `load'.
Revision
1703699 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 17 21:29:09 2015 UTC
(8 years, 10 months ago)
by
philip
File length: 47854 byte(s)
Diff to
previous 1701494
(
colored)
Add -rN to "svnadmin lstxns" to skip the output of txns with a base
revision newer than rN. This makes it easier to remove obsolete txns.
* subversion/svnadmin/svnadmin.c
(cmd_table): Add 'r' to lstxns.
(subcommand_lstxns): Add an iterpool, get the base revision, use the
revision to restrict the output.
* tools/client-side/bash_completion
(_svnadmin): Add -r to lstxns.
Revision
1698276 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 28 08:33:18 2015 UTC
(8 years, 11 months ago)
by
julianfoad
File length: 45814 byte(s)
Diff to
previous 1695871
(
colored)
* tools/client-side/bash_completion
(_svn): Complete arguments to svn info --show-item.
Patch by: Andreas Stieger <andreas.stieger{_AT_}gmx.de>
(tweaked by me)
Revision
1662291 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 25 18:17:16 2015 UTC
(9 years, 5 months ago)
by
philip
File length: 45531 byte(s)
Diff to
previous 1662250
(
colored)
* tools/client-side/bash_completion
(_svn): Stop offering deprecated options.
* tools/client-side/bash_completion_test: Don't expect deprecated
options or --help for help.
Revision
1660418 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 17 15:36:20 2015 UTC
(9 years, 5 months ago)
by
brane
File length: 45545 byte(s)
Diff to
previous 1660373
(
colored)
Merge the removal of 'svn youngest' from the svn-info-detail branch.
* subversion/svn/cl.h
(svn_cl__youngest): Remove declaration.
* subversion/svn/youngest-cmd.c: Removed file.
(svn_cl__youngest): Gone.
* subversion/svn/svn.c
(svn_cl__cmd_table): Remove the definition of the 'svn youngest' subcommand.
* subversion/tests/cmdline/basic_tests.py
(basic_youngest): Removed.
(test_list): Removed entry for basic_youngest.
* subversion/tests/cmdline/getopt_tests_data/svn--help_stdout,
subversion/tests/cmdline/getopt_tests_data/svn_help_stdout:
Adjust expected output for getopt_tests.py.
* tools/client-side/bash_completion
(_svn): Remove youngest.
Revision
1579922 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 21 11:03:30 2014 UTC
(10 years, 4 months ago)
by
philip
File length: 45266 byte(s)
Diff to
previous 1577314
(
colored)
Introduce -M to set the FSFS cache size for file:// URLs with
svnsync. The cache could already be controlled via the config
file, and the command line config support, so '-M' is a short
form of '--config-option config:miscellany:memory-cache-size='.
* subversion/svnsync/svnsync.c
(svnsync_cmd_table): Add 'M' to synchronize and copy-revprops.
(svnsync_options): Add 'M'.
(sub_main): Handle '-M' and update the config.
* tools/client-side/bash_completion
(_svnsync): Add -M.
Revision
1448690 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 21 15:51:04 2013 UTC
(11 years, 5 months ago)
by
philip
File length: 44924 byte(s)
Diff to
previous 1448102
(
colored)
* tools/client-side/bash_completion
(_svnadmin): Add lock and unlock commands, add options to create,
dump and load, handle -M/--memory-cache-size and -F/--file pairs.
Revision
1448102 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 20 11:47:28 2013 UTC
(11 years, 5 months ago)
by
philip
File length: 44439 byte(s)
Diff to
previous 1340413
(
colored)
* tools/client-side/bash_completion
(_svn): Add missing options to commit, diff, list, log, merge,
move, propget, proplist. Don't make --accept madatory for resolve.
(_svnadmin): Add freeze.
Revision
1177001 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 28 18:25:08 2011 UTC
(12 years, 10 months ago)
by
philip
File length: 44391 byte(s)
Diff to
previous 1065010
(
colored)
Update bash_completion to handle lots of new 1.7 features.
* tools/client-side/bash_completion
(_svn): Add upgrade, adjust various other commands.
* tools/client-side/bash_completion_test
(get_svn_options): Upper case ARG.
Revision
901260 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 20 16:28:49 2010 UTC
(14 years, 6 months ago)
by
rhuijben
File length: 43932 byte(s)
Diff to
previous 887663
(
colored)
* tools/client-side/bash_completion_test
* tools/client-side/bash_completion
Add the ALv2 license blurb.
* tools/client-side/wcfind
Add the ALv2 license blurb above existing copyright
after contacting maxb via IRC.
Revision
877919 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed May 27 09:45:44 2009 UTC
(15 years, 2 months ago)
by
fabien
File length: 41521 byte(s)
Diff to
previous 877917
(
colored)
Add bash completion for 'svnversion'
* tools/client-side/bash_completion:
(_svnversion): New function to handle svnversion completion.
Revision
877612 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 2 11:13:45 2009 UTC
(15 years, 2 months ago)
by
arfrever
File length: 39480 byte(s)
Diff to
previous 877606
(
colored)
Add BASH completion for svnsync.
* tools/client-side/bash_completion
(_svnlook): Provide completion for 'pget', 'pg', 'plist' and 'pl' commands
of svnlook.
(_svnsync): New.
Revision
877606 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 2 00:05:00 2009 UTC
(15 years, 2 months ago)
by
arfrever
File length: 37339 byte(s)
Diff to
previous 877553
(
colored)
* subversion/svn/cl.h
(svn_cl__opt_state_t.patch_cmd): Remove.
* tools/client-side/bash_completion
(_svn): Remove completion for `svn patch --patch-cmd`.
Revision
875518 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 24 18:09:36 2009 UTC
(15 years, 6 months ago)
by
fabien
File length: 35291 byte(s)
Diff to
previous 875060
(
colored)
Fix completion bug for revert when only a prop was modified.
* tools/client-side/bash_completion:
fix IFS not to ignore leading spaces from "svn status" output.
Revision
875060 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 30 23:41:18 2008 UTC
(15 years, 6 months ago)
by
arfrever
File length: 35052 byte(s)
Diff to
previous 874944
(
colored)
Update BASH completion.
* tools/client-side/bash_completion
(_svn): Support '--config-option' option and 'svn propget --verbose'.
(_svnadmin): Support 'svnadmin pack'.
Revision
873011 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 5 16:26:49 2008 UTC
(15 years, 10 months ago)
by
arfrever
File length: 31766 byte(s)
Diff to
previous 872998
(
colored)
* tools/client-side/bash_completion
(_svn, _svnadmin): Don't use '+=' for appending to variables because very old
version of BASH is still used on Mac OS X 10.5.
Suggested by: blair
Revision
872990 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 5 11:41:40 2008 UTC
(15 years, 10 months ago)
by
fabien
File length: 31599 byte(s)
Diff to
previous 872986
(
colored)
Improved bash completion for 'merge' URL argument
* tools/client-side/bash_completion:
- better completion when in a 'trunk' subdirectory
Revision
872986 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 5 09:48:11 2008 UTC
(15 years, 10 months ago)
by
fabien
File length: 31598 byte(s)
Diff to
previous 872985
(
colored)
More help with 'svn merge' URL argument and options
* tools/client-side/bash_completion:
- function _svn_info added to parse 'svn info' output
- suggest a URL argument for 'svn merge'
(branches if in trunk, trunk if in a branch)
- force --reintegrate option when merging in trunk from a branch
- style: avoid continuation in some long strings
- style: remove useless spaces at end of lines
Revision
872974 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 4 16:21:20 2008 UTC
(15 years, 10 months ago)
by
fabien
File length: 30039 byte(s)
Diff to
previous 870859
(
colored)
bash_completion update for mergeinfo --show-revs option.
* tools/client-side/bash_completion: handle --show-revs argument values
Revision
870717 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 16 20:38:40 2008 UTC
(16 years, 3 months ago)
by
fabien
File length: 29687 byte(s)
Diff to
previous 867351
(
colored)
Update bash completion script.
* tools/client-side/bash_completion
(): Update with 1.5 command additions/deletions.
Patch by: stylesen
Tweaked by: me
Revision
867069 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 6 15:31:55 2007 UTC
(16 years, 9 months ago)
by
fabien
File length: 28158 byte(s)
Diff to
previous 867065
(
colored)
Bash completion about possible usernames from:
- environment variable SVN_BASH_USERNAME
- ~/.subversion/auth/... files
(if activated by adding 'username' to SVN_BASH_COMPL_EXT).
Costly completions are not activated by default.
* tools/client-side/bash_completion:
_svn_read_hashfile(): new function to "parse" svn hash files
_svn(): --username option values handling
Revision
867059 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 6 08:53:06 2007 UTC
(16 years, 9 months ago)
by
fabien
File length: 26906 byte(s)
Diff to
previous 866925
(
colored)
Completion updated for '--accept' option.
Option activated for 5 commands: co merge resolved sw up
The option expected values differ for 'resolved'.
* tools/client-side/bash_completion: '--accept' option handling.
Revision
866925 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 29 09:09:26 2007 UTC
(16 years, 10 months ago)
by
fabien
File length: 26574 byte(s)
Diff to
previous 865862
(
colored)
More completion, especially with respect to the 'mergeinfo' subcommand,
and other recently added options (limit, changelist, with-revprop...).
It may not be complete yet.
* tools/client-side/bash_completion: handle mergeinfo and new options.
Revision
865862 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 19 10:41:17 2007 UTC
(17 years ago)
by
fabien
File length: 25859 byte(s)
Diff to
previous 865853
(
colored)
Handle an argument completion special case when a file is
scheduled for addition, but not committed yet.
* tools/client-side/bash_completion: comments and small fix
Revision
865853 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 18 14:34:18 2007 UTC
(17 years ago)
by
fabien
File length: 25438 byte(s)
Diff to
previous 865852
(
colored)
Sigh. Note about space-in-filename completion issue and
remove feeble attempt to solve it through IFS mangling.
* tools/client-side/bash_completion: fix + added comment
Revision
865847 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 17 18:57:59 2007 UTC
(17 years ago)
by
fabien
File length: 24571 byte(s)
Diff to
previous 865344
(
colored)
Improved bash completion based on a preliminary patch by Krzysiek Pawlik.
File arguments in the working copy are completed based on the current
subversion subcommand, by invoking 'svn status' and filtering its output.
For instance, only modified files are completed for 'revert', and so on.
The status invocation while completing may be costly, especially if
recursive or if externals are followed. However the repos is not accessed.
Full activation is achieved by setting environment variable SVN_BASH_COMPL_EXT
to 'svnstatus recurse externals'. Both later options seem quite unadvisable
on large working copies, but the simple 'svnstatus' version is reasonable.
Completion outside a working copy results in an error message.
This addition is safe as it is not activated by default.
Basic tests are okay with bash 2.05b and 3.1.17.
* tools/client-side/bash_completion:
- _svn_grcut and _svn_lls support functions added.
these functions do not rely on anything but the shell.
- better completion for file arguments in working copy.
- more ".svn" special-directory occurences are filtered out.
Revision
865344 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 3 13:51:03 2007 UTC
(17 years, 1 month ago)
by
fabien
File length: 21110 byte(s)
Diff to
previous 864164
(
colored)
Fix a mixup I introduced in r24089.
Although filtering out ".svn" directories is a good idea, the "-f" breaks
things as other completions are added to the one suggested by the function.
For instance, the "--revprop" forced options was not forced anymore because
it was put in the middle of other completions.
* tools/client-side/bash_completion: back to "-o default"
Revision
864163 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 24 17:19:48 2007 UTC
(17 years, 4 months ago)
by
fabien
File length: 21111 byte(s)
Diff to
previous 864032
(
colored)
Hide svn special '.svn' directories when using file completion
for the "svn" command.
* tools/client-side/bash_completion: complete for "svn" modified
Revision
861607 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 18 20:53:02 2006 UTC
(17 years, 10 months ago)
by
philip
File length: 20861 byte(s)
Diff to
previous 861496
(
colored)
* tools/client-side/bash_completion
(_svn): Add changelist commands and associated options, add -x to
blame and merge.
(_svnadmin): Add crashtest command, add --wait to recover.
Revision
860427 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 2 23:08:34 2006 UTC
(18 years ago)
by
julianfoad
File length: 20603 byte(s)
Diff to
previous 858706
(
colored)
Make the help text for "--version" more consistent, with descriptions and
without "usage" lines for it. Update the Bash shell completion script with
respect to the changed handling of "--version". A follow-up to r20301.
* subversion/svnserve/main.c
(svnserve__options): Tweak the description of "--version" for clarity.
(This appears in the help text.)
* subversion/svnversion/main.c
(main): Tweak the description of "--version" for clarity.
(This appears in the help text.)
* subversion/svn/main.c
(svn_cl__options): Change unused description of "--version" for consistency.
* subversion/svn/help-cmd.c
(svn_cl__help): Remove the usage line for "--version".
Add a prose description of "--version --quiet".
* subversion/svndumpfilter/main.c
(options_table): Tweak unused description of "--version" for consistency.
(subcommand_help): Remove the usage line for "--version".
Add a prose description of "--version".
* subversion/svnadmin/main.c
(options_table): Tweak unused description of "--version" for consistency.
(subcommand_help): Remove the usage line for "--version".
* subversion/svnlook/main.c
(options_table): Tweak unused description of "--version" for consistency.
(subcommand_help): Remove the usage line for "--version".
* subversion/svnsync/main.c
(svnsync_options): Tweak unused description of "--version" for consistency.
(help_cmd): Remove the usage line for "--version".
* subversion/tests/cmdline/getopt_tests_data/svn--help_stdout
* subversion/tests/cmdline/getopt_tests_data/svn_help_stdout
Tweak the expected help text accordingly.
* tools/client-side/bash_completion
(_svn): Disallow mixing "help" with "--version [--quiet]", as per r20301.
Revision
858138 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 11 00:56:03 2006 UTC
(18 years, 6 months ago)
by
julianfoad
File length: 20513 byte(s)
Diff to
previous 858136
(
colored)
Update bash completion support.
* tools/client-side/bash_completion
(_svn): Add the new "--change"/"-c" option to "diff" and "merge".
Revision
858136 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 11 00:46:56 2006 UTC
(18 years, 6 months ago)
by
julianfoad
File length: 20374 byte(s)
Diff to
previous 857532
(
colored)
Remove bash completion support for "svn ?" and "svnadmin ?", which
interact badly with file globbing and cannot benefit from completion.
Patch by: Peter Samuelson <peter@p12n.org>
* tools/client-side/bash_completion
(_svn, _svnadmin): Remove "?" from the lists of svn and svnadmin subcommands.
* tools/client-side/bash_completion_test
Override locale settings to prevent spurious test failures.
(get_svn_subcommands): Ignore "?" in subcommand autodetection.
Remove the test for "?".
Remove an erroneous test for "h" that was passing due to matching "?".
Revision
857532 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 20 21:35:02 2005 UTC
(18 years, 8 months ago)
by
julianfoad
File length: 20378 byte(s)
Diff to
previous 856088
(
colored)
Improve bash completion for the 'svn' command.
This completion now guides the command/option order along the one suggested
by "svn help", although other syntaxes are allowed.
Some additional completions are performed, including:
- property names (for svn:* properties)
- property values (for most svn:* properties)
- arguments to some other options, eg directory names for --config-dir
Values suggested to some options can be extended with environment variables.
Patch by: Fabien COELHO <fabien@coelho.net>
* tools/client-side/bash_completion
(_svn): Greatly extend the completion capabilities.
Revision
856088 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 31 13:30:04 2005 UTC
(18 years, 10 months ago)
by
julianfoad
File length: 8862 byte(s)
Diff to
previous 855995
(
colored)
Add XML output for "svn info".
Patch by: Alexander Thomas <alexander@collab.net>
(Tweaked by me.)
* subversion/clients/cmdline/dtd/info.dtd
New DTD.
* subversion/clients/cmdline/main.c
(svn_cl__cmd_table): Add "--xml" and "--incremental" options for "svn info".
* subversion/clients/cmdline/info-cmd.c
(print_header_xml): New function.
(print_footer_xml): New function.
(schedule_str): New function.
(print_info_xml): New function.
(info_receiver): Print XML or traditional output depending on cmdline option.
(svn_cl__info): Modified for XML output.
* tools/client-side/bash_completion
(_svn): Add "--xml" and "--incremental" options for "svn info".
Revision
855995 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 25 23:50:59 2005 UTC
(18 years, 11 months ago)
by
philip
File length: 8815 byte(s)
Diff to
previous 855984
(
colored)
* tools/client-side/bash_completion
(): Enable extended globbing since it's required.
(_svn): Add --no-ignore to add/import, remove extglob comments.
(_svnadmin): Remove extglob comments.
Revision
855984 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 25 19:51:38 2005 UTC
(18 years, 11 months ago)
by
kfogel
File length: 9649 byte(s)
Diff to
previous 855976
(
colored)
* tools/client-side/bash_completion: Revert r15902, as the syntax was
actually correct, and leave comments explaining the situation instead.
Suggested by: philip
Note that the diff may look weird, because there are TAB characters in
the file. We could fix that, but it would interfere with 'svn blame',
so I've left them in.
Revision
854995 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 1 20:47:41 2005 UTC
(19 years, 1 month ago)
by
lundblad
File length: 8746 byte(s)
Diff to
previous 854553
(
colored)
Fix issue 2069 - "svn status" in xml mode.
Patch by: Alexander Thomas <alexander@collab.net>
(Tweaked by me.)
* subversion/clients/cmdline/cl.h
(svn_cl__print_status_xml): Added new function prototype.
* subversion/clients/cmdline/status.c
(generate_status_desc, svn_cl__print_status_xml): New functions.
* subversion/clients/cmdline/main.c
(svn_cl__cmd_table): Added --incremental and --xml options to
status subcommand array.
* subversion/clients/cmdline/status-cmd.c
(struct status_baton): Added new xml_Mode field.
(print_start_target_xml, print_header_xml, print_footer_xml,
print_finish_target_xml): New functions.
(print_status): Print XML in XML mode.
(svn_cl__status): Print XML in XML mode. Error if --incremental was used
without --xml.
* subversion/clients/cmdline/dtd/status.dtd
New file.
* subversion/tests/clients/cmdline/stat_tests.py
(status_in_xml): New test.
(test_list): Added status_in_xml.
* tools/client-side/bash_completion
(_svn): Add "--incremental" and "--xml" options to "status"
for auto-completion.
Revision
853703 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 23 22:29:20 2005 UTC
(19 years, 4 months ago)
by
philip
File length: 8801 byte(s)
Diff to
previous 853559
(
colored)
* tools/client-side/bash_completion
(_svn): Add lock and unlock.
(_svnadmin): Add lslocks and rmlocks, add --use-pre-commit-hook and
--use-post-commit-hook to load, remove switch cases for list-dblogs
and list-unused-dblogs as they accept no options.
Revision
852935 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 26 19:23:01 2005 UTC
(19 years, 6 months ago)
by
maxb
File length: 8572 byte(s)
Diff to
previous 852911
(
colored)
Bash completion updates. A few extracted from issue 2042, most as a result of
running bash_completion_test.
* tools/client-side/bash_completion: Update comments - we want to avoid
mentioning command abbreviations which are purely prefixes of others,
regardless of whether they are unambiguous or not.
(_svn): Add --ignore-externals.
(_svnadmin): Remove "h", which overlapped "hotcopy". "$qOpts" isn't defined
here, so expand to the intended text in its one use case.
Add "rmtxns --quiet" and "setlog --bypass-hooks".
Revision
852911 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 24 22:34:29 2005 UTC
(19 years, 6 months ago)
by
julianfoad
File length: 8307 byte(s)
Diff to
previous 852160
(
colored)
Implement an XML output option for "svn list", similar to that for "svn log".
* doc/book/book/ch09.xml
Document the new options for "svn list".
* subversion/clients/cmdline/ls-cmd.c
(kind_str): New helper function.
(print_dirents_xml): New.
(svn_cl__ls): Output XML if requested.
* subversion/clients/cmdline/main.c
(svn_cl__cmd_table):
Add "--incremental" and "--xml" options to "list" command.
* tools/client-side/bash_completion
(_svn): Add "--incremental" and "--xml" options to "list" command.
Revision
851259 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 29 22:11:39 2004 UTC
(19 years, 10 months ago)
by
rooneg
File length: 8244 byte(s)
Diff to
previous 850605
(
colored)
* tools/client-side/bash_completion
(log): add --limit flag.
* doc/book/TODO: add a section about 1.2 features that need to be documented,
currently just svn log --limit.
Revision
849661 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 30 20:47:56 2004 UTC
(20 years, 3 months ago)
by
philip
File length: 8147 byte(s)
Diff to
previous 849310
(
colored)
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.
Revision
847892 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 18:59:04 2003 UTC
(20 years, 8 months ago)
by
philip
File length: 8090 byte(s)
Diff to
previous 847791
(
colored)
* tools/client-side/bash_completion
(_svn): Add --stop-on-copy to log, remove --strict from log and blame.
(_svnadmin): Add --quiet to load.
Revision
847599 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 26 21:21:57 2003 UTC
(20 years, 9 months ago)
by
julianfoad
File length: 7998 byte(s)
Diff to
previous 847483
(
colored)
Bash-completion: update the list of commands, and don't output redundant
abbreviations.
* tools/client-side/bash_completion (_svn)
Remove obsolete commands (get). Add new commands (annotate, ann, pd).
Remove redundant (unambiguous) abbreviations, so that (e.g.) expanding "st"
gives "status" instead of giving the choices "st stat status".
Restore alphabetical order in the lists.
Revision
847483 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 13 21:45:06 2003 UTC
(20 years, 9 months ago)
by
kfogel
File length: 7980 byte(s)
Diff to
previous 847478
(
colored)
Give 'em bread *and* circuses:
* subversion/clients/cmdline/main.c
(svn_cl__cmd_table): Add "annotate" and "ann" aliases for "blame"
subcommand, for CVS compatibility.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout,
subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout:
The usual.
* tools/client-side/bash_completion:
The unusual.
Revision
847478 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 13 18:33:23 2003 UTC
(20 years, 9 months ago)
by
philip
File length: 7900 byte(s)
Diff to
previous 847410
(
colored)
* subversion/libsvn_client/blame.c (svn:eol-style): Set to native.
* subversion/clients/cmdline/blame-cmd.c: (svn:eol-style): Set to native.
* tools/client-side/bash_completion (_svn): Add blame command.
Revision
847076 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 7 21:18:31 2003 UTC
(20 years, 10 months ago)
by
philip
File length: 7685 byte(s)
Diff to
previous 847015
(
colored)
* tools/client-side/bash_completion
(_svnadmin): Add verify command. Add --config-dir option to create
command. Remove --on-disk-template and --in-repos-template options
from create command. Fix duplicate create, remove --config-dir from
createtxn.
Patch by: SASAKI Suguru <sasaki@sonik.org>
Revision
847015 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 1 06:10:35 2003 UTC
(20 years, 10 months ago)
by
striker
File length: 7780 byte(s)
Diff to
previous 846901
(
colored)
Restore what was lost in rev 6908.
* tools/client-side/bash_completion
* tools/client-side/bash_completion_test
* tools/client-side/server-vsn.py
* tools/client-side/showchange.pl
Revived.
Revision
846901 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 22 06:45:20 2003 UTC
(20 years, 11 months ago)
by
fitz
File length: 7780 byte(s)
Diff to
previous 846809
(
colored)
Geez. So much for having atomic commits.
Handle the lsdblogs rename here.
* tools/client-side/bash_completion: Rename lsdblogs to list-dblogs,
and add list-unused-dblogs. These commands take no arguments.
Revision
846809 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 14 21:08:23 2003 UTC
(20 years, 11 months ago)
by
philip
File length: 7755 byte(s)
Diff to
previous 846754
(
colored)
Add a --config-dir option that allows a user's config to be read from
a directory other than the default ~/.subversion.
Patch by: Shlomi Fish <shlomif@vipe.stud.technion.ac.il>
(Tweaked by me.)
* svn_config.h
(svn_config_get_config, svn_config_ensure, svn_config_read_auth_data,
svn_config_write_auth_data): Add config_dir parameter to override
the default ~/.subversion.
* svn_auth.h
(SVN_AUTH_PARAM_CONFIG_DIR): New.
* subversion/libsvn_wc/log.c
(log_do_merge): Removed the call to svn_config_get_config which seems
like a leftover from ancient times.
* subversion/libsvn_subr/config_file.c
(svn_config__user_config_path): Added the config_dir parameter.
(svn_config_ensure): Added the config_dir parameter.
* subversion/libsvn_subr/config.c
(get_category_config): Added the config_dir param and made it override
the other directories in case it is set.
(svn_config_get_config): Added the config_dir param and passed it to
get_category_config
* subversion/libsvn_subr/config_auth.c
(auth_file_path): Added the config_dir param.
(svn_config_read_auth_data): Added and implemented the config_dir param.
(svn_config_write_auth_data): Added and implemented the config_dir param.
* subversion/libsvn_subr/config_impl.h
(svn_config__user_config_path): Added the config_dir parameter.
* subversion/libsvn_client/providers.c
(get_creds): Read the config_dir from the parameters and passed it to
read_auth_data.
(save_creds): Added the config_dir param and passed it to
write_auth_data.
(simple_save_creds): Read the config_dir from the parameters
and passed it to save_creds.
(username_save_creds): Read the config_dir from the parameters
and passed it to save_creds.
* subversion/clients/cmdline/cl.h
(enum svn_cl__longopt_t): Added svn_cl__config_dir_opt member.
(struct svn_cl__opt_state_t): Added config_dir member.
* subversion/svnadmin/main.c
(anonymous enum): Add svnadmin__config_dir.
(options_table): Add "--config-dir" to create command. Tweak help text
to fit in 80 columns and remove some '.'s for consistency.
(main): Added the processing of the config_dir option.
(subcommand_create): added the config_dir param to svn_config_get_config
* subversion/clients/cmdline/main.c
(svn_cl__options): Add "--config-dir".
(svn_cl__cmd_table): Add "--config-dir" to all commands.
(main): Added processing of the svn_cl__config_dir_opt; passed
config_dir to svn_config_get_config and set its paramter in svn_auth.
* subversion/tests/clients/cmdline/basic_tests.py
(basic_add_ignores, basic_import_ignores): Add --config-dir so that
the user's config doesn't affect the tests. Raise the correct exception.
* subversion/tests/clients/cmdline/prop_tests.py
(copy_should_use_copied_executable_and_mime_type_values,
update_conflict_props): Raise the correct exception.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Add --config-dir help text.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help--version_stdout
Add --config-dir help text.
* tools/client-side/bash_completion
(_svn): Add --config-dir to all commands.
(_svnadmin): Add --config-dir to create command.
Revision
846682 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 29 21:36:17 2003 UTC
(21 years ago)
by
philip
File length: 7659 byte(s)
Diff to
previous 846672
(
colored)
Update svn and add svnadmin completion.
* tools/client-side/bash_completion
(_svn): Change --ignore-ancestry to --notice-ancestry.
(_svnadmin): New.
Revision
846636 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 24 13:12:04 2003 UTC
(21 years ago)
by
philip
File length: 5487 byte(s)
Diff to
previous 846631
(
colored)
Tweak bash completion, it's now consistent with the completion
testsuite.
* tools/client-side/bash_completion (_svn): Don't try to handle
-h/--help as commands, treat them as options instead.
* tools/client-side/bash_completion_test:
(get_svn_options): Add -h/--help as options.
(the main script): Don't handle -h/--help as commands.
Revision
846631 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 24 05:30:30 2003 UTC
(21 years ago)
by
philip
File length: 5462 byte(s)
Diff to
previous 846452
(
colored)
* tools/client-side/bash_completion (_svn): Recognise "--arg=value" when
excluding synonyms. Fix the list of subcommands and options accepted
as a first argument. Fix the lists of options accepted by various
subcommands. Tweak help expansion code.
* tools/client-side/bash_completion_test: New test script.
Patch by: Julian Foad <julianfoad@btopenworld.com>
(Tweaked by me.)
Revision
846278 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 12 02:08:21 2003 UTC
(21 years, 1 month ago)
by
philip
File length: 5275 byte(s)
Diff to
previous 846251
(
colored)
Make 'svn switch --relocate' work with missing directories, and
fix a bug that caused deleted entries to get removed.
* subversion/libsvn_wc/relocate.c (svn_wc_relocate): Get deleted
entries so that they don't get removed when written out. Skip
missing directories. Combine two separate tests into one, thus
avoiding a (false alarm) gcc warning about an unitialised variable.
* subversion/tests/clients/cmdline/switch_tests.py
(relocate_deleted_and_missing): New test.
* tools/client-side/bash_completion (_svn): Add --relocate to switch.
Revision
846247 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 9 02:13:41 2003 UTC
(21 years, 1 month ago)
by
kfogel
File length: 5260 byte(s)
Diff to
previous 846096
(
colored)
Fix issue #1341: Change 'svn revert' to 'svn undo', to avoid confusion
with 'svn resolve'.
* subversion/libsvn_wc/adm_ops.c
(error_in_undo): Replaces revert_error.
(undo_admin_things): Replaces revert_admin_things.
(svn_wc_add): Fix comments.
(svn_wc_undo): Replaces svn_wc_revert. Adjust for above changes.
* subversion/include/svn_wc.h
(svn_wc_undo): Replaces svn_wc_revert.
(svn_wc_notify_action_t): Use svn_wc_notify_undo instead of
svn_wc_notify_revert now. All callers changed.
* subversion/clients/cmdline/feedback.c
(notify): Adjust for new notifications.
* subversion/libsvn_client/revert.c: Renamed to below.
* subversion/libsvn_client/undo.c: New file, replaces revert.c.
(svn_client_undo): Replaces svn_client_revert. Call svn_wc_undo
now, not svn_wc_revert.
* subversion/include/svn_client.h
(svn_client_undo): Replaces svn_client_revert.
* subversion/clients/cmdline/main.c
(svn_cl__cmd_table): Use "undo" instead of "revert".
* subversion/clients/cmdline/revert-cmd.c: Renamed to below.
* subversion/clients/cmdline/undo-cmd.c: New file, replaces
revert-cmd.c.
(svn_cl__undo): Replaces svn_cl__revert.
* subversion/clients/cmdline/cl.h: Declare svn_cl__undo.
Tests:
* subversion/tests/clients/cmdline/basic_tests.py
(basic_undo): Replaces basic_revert.
(test_list): Adjust for above.
* subversion/tests/clients/cmdline/copy_tests.py
(mv_and_undo_directory): Replaces mv_and_revert_directory.
(repos_to_wc): Call undo instead of revert.
(test_list): Adjust for above.
* subversion/tests/clients/cmdline/merge_tests.py
(textual_merges_galore, simple_property_merges, merge_one_file):
Call undo instead of revert.
* subversion/tests/clients/cmdline/prop_tests.py
(undo_replacement_props): Replaces revert_replacement_props.
(test_list): Adjust for above.
* subversion/tests/clients/cmdline/schedule_tests.py
(undo_add_files, undo_add_directories, undo_nested_adds,
undo_add_executable, undo_delete_files, undo_delete_dirs):
Replace revert_add_files, revert_add_directories,
revert_nested_adds, revert_add_executable, revert_delete_files,
and revert_delete_dirs respectively.
(test_list): Adjust for above.
* subversion/tests/clients/cmdline/switch_tests.py
(commit_routine_switching): Use undo instead of revert.
* subversion/tests/clients/cmdline/trans_tests.py: Adjust comment.
* subversion/tests/clients/cmdline/update_tests.py
(update_to_resolve_text_conflicts): Replaces
update_to_revert_text_conflicts. No comment.
(test_list): Adjust.
* subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout,
subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout:
Adjust.
Documentation and notes:
* doc/book/book/appa.xml, doc/book/book/ch03.xml,
doc/book/book/ch04.xml, doc/book/book/ch08.xml,
doc/book/book/ch06.xml: Adjust accordingly.
* doc/translations/french/appendices.texi: Adjust.
* doc/book/outline.txt: Adjust.
* doc/user/svn-ref.tex: Adjust.
* subversion/clients/cmdline/man/svn.1: Adjust.
* notes/autoversioning-strategy.txt: Adjust
* www/project_faq.html
(undo): Replaces "revert" question.
* CHANGES: Mention that it's 'svn undo' now.
Interfaces:
* tools/client-side/bash_completion: Adjust completions.
* tools/client-side/psvn/psvn.el
(svn-status-undo-file): Replaces svn-status-revert-file.
Keybinding also changed, but see comment about narrowing keyspace.
* tools/client-side/vc-svn.el
(vc-svn-undo): Replaces vc-svn-revert.
* tools/dev/svn-dev.el
(svn-undo): Replaces svn-revert.
Bindings:
* subversion/bindings/ruby/wc.c
(wc_undo): Replaces wc_revert. Call svn_wc_undo now.
(svn_ruby_init_wc): Change wc_revert to wc_undo, although the whole
thing is commented out so this is just cosmetic.
* subversion/bindings/ruby/client.c
(cl_undo): Replaces cl_revert. Call svn_client_undo now.
(svn_ruby_init_client): Map "undo" to cl_undo, instead of "revert"
to cl_revert.
* subversion/bindings/java/javahl/native/SVNClient.h
(class SVNClient): It's undo, not revert.
* subversion/bindings/java/javahl/native/Notify.cpp
(Notify::onNotify): Use undo instead of revert.
* subversion/bindings/java/javahl/native/SVNClient.cpp
(SVNClient::undo): Replaces SVNClient::revert. Call svn_client_undo.
* subversion/bindings/java/javahl/native/org_tigris_subversion_javahl_SVNClient.cpp
(Java_org_tigris_subversion_javahl_SVNClient_undo): Replace
Java_org_tigris_subversion_javahl_SVNClient_revert, etc.
* subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Notify.java
(Notify.Action): Use undo instead of revert.
* subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java
(SVNClient.undo): Replaces revert.
Revision
846096 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri May 23 16:00:25 2003 UTC
(21 years, 2 months ago)
by
philip
File length: 5264 byte(s)
Diff to
previous 845464
(
colored)
Issue 1142, change to 'svn diff [--old] [--new]' syntax.
This is a new interface on the old backend, so with appropriate
arguments, the diff output is unchanged. The new interface allows
working copy to branch comparisons, some of these work but sometimes
the backend will generate errors.
* subversion/clients/cmdline/diff-cmd.c (svn_cl__diff): Rewrite.
* subversion/clients/cmdline/cl.h
(enum svn_cl__longopt_t): Add svn_cl__old_cmd_opt and svn_cl__new_cmd_opt.
(struct svn_cl__opt_state_t): Add old_target and new_target.
* subversion/clients/cmdline/main.c
(svn_cl__options): Add --old and --new. Tweak diff-cmd, diff3-cmd and
editor-cmd capitalization for consistency.
(svn_cl__cmd_table): Rewrite diff help text, add --old and --new.
* subversion/tests/clients/cmdline/diff_tests.py
(diff_nonextant_urls): Use new diff syntax.
(diff_targets, diff_branches): New.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout:
Tweak for diff3-cmd capitalization change.
* tools/client-side/bash_completion (svn_): Add --old and --new to diff,
add --ignore-ancestry to diff and merge, add --strict to propget, add
-q to proplist.
* CHANGES: Record new diff syntax.
Revision
845267 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 3 22:33:55 2003 UTC
(21 years, 4 months ago)
by
philip
File length: 5042 byte(s)
Diff to
previous 844445
(
colored)
Fix some command line option inconsistencies I noticed while
updating bash_completion.
* subversion/clients/cmdline/main.c
(svn_cl__options): Remove quotes from "ARG" to match plain ARG.
(define SVN_CL__AUTH_OPTIONS): New macro
(svn_cl__cmd_table): Replace separate auth options with
SVN_CL__AUTH_OPTIONS. Adjust the option order in a few places.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout:
Tweak to match new output.
* tools/client-side/bash_completion (svn_): Add --diff-cmd and
--diff3-cmd, change --message-encoding to --encoding. Add auth
options to propdel, propedit, propget, proplist, propset and cat.
Switch --recursive to --non-recursive for add.
Revision
844333 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 5 00:53:43 2003 UTC
(21 years, 6 months ago)
by
blair
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 5005 byte(s)
Diff to
previous 844223
(
colored)
When I delete or move a file, why should I see a diff comparing the
file to an empty file? It gets in in the way of seeing the diffs I'm
interested in.
Add a new --no-diff-deleted flag to `svn diff' and rename the
`--no-diff-on-delete' flag in svnlook to `--no-diff-deleted'. Make
the help output consistent between the two programs.
* subversion/include/svn_client.h
(svn_client_diff): Add a new svn_boolean_t no_diff_deleted input
argument.
* subversion/libsvn_client/diff.c
(equal_string): New static char[] which holds the '========='
string. Used by diff_file_deleted_no_diff() and diff_file_changed().
(diff_callbacks): Deleted. Now declared in svn_client_diff.
(diff_file_deleted_with_diff): Renamed from diff_file_deleted().
(diff_file_deleted_no_diff): New function that just prints the
"Index: %s (deleted)" with the path name and returns.
(svn_client_diff): Add a new svn_boolean_t no_diff_deleted input
argument. Build diff_callbacks here and set the file_deleted
callback to either diff_file_deleted_with_diff() or
diff_file_deleted_no_diff() depending upon no_diff_deleted.
* subversion/clients/cmdline/cl.h
(svn_cl__longopt_t): Add svn_cl__no_diff_deleted.
(svn_cl__opt_state_t): Add no_diff_deleted.
* subversion/clients/cmdline/main.c:
Add '--no-diff-deleted' flag to `svn diff'.
* subversion/clients/cmdline/diff-cmd.c
(svn_cl__diff): Pass opt_state.no_diff_deleted to all
svn_client_diff() calls.
* subversion/svnlook/main.c
(svnlook__no_diff_deleted): Renamed from svnlook__no_diff_on_delete.
Make the `svnlook help diff` output the same as `svn help diff',
which is a little clearer.
* tools/dev/bash_completion:
Add --no-diff-deleted to `svn diff' command completion.
* tools/hook-scripts/commit-email.pl:
s/--no-diff-on-delete/--no-diff-deleted/g.
Revision
844223 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 17 22:56:50 2002 UTC
(21 years, 7 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4960 byte(s)
Diff to
previous 843941
(
colored)
Change --nonrecursive to --non-recursive so that it matches (most
of) the other options. Now --revprop is the only option using the
"smashed together" style, and it doesn't use complete words. Tweak
a couple of --message-encodings that got forgotten.
* CHANGES: Note new option name.
* subversion/clients/cmdline/main.c (svn_cl__options): Replace nonrecursive.
* subversion/clients/cmdline/man/svn.1: Replace --nonrecursive and
--message-encoding.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Replace nonrecursive.
* tools/dev/bash_completion (_svn): Replace --nonrecursive and
--message-encoding. Remove last remnants of -D/--date.
Revision
843939 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 22 23:58:25 2002 UTC
(21 years, 8 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4907 byte(s)
Diff to
previous 843714
(
colored)
Issue #399: implement a basic 'cat' command. At present it just
outputs the raw bytes, so no keyword expansion or eol translation.
Patch by: Vladimir Prus <ghost@cs.msu.su>
(Tweaked by me.)
I haven't tested the modified dsp files.
* subversion/include/svn_error_codes.h (SVN_ERR_CLIENT_IS_DIRECTORY,
SVN_ERR_CLIENT_REVISION_RANGE): New error codes.
* subversion/include/svn_client.h (svn_client_cat): New function.
* subversion/libsvn_client/cat.c: New file.
* subversion/clients/cmdline/cl.h (svn_cl__cat): New function.
* subversion/clients/cmdline/cat-cmd.c: New file.
* subversion/clients/cmdline/main.c: (svn_cl__cmd_table): Add 'cat'.
* subversion/tests/clients/cmdline/basic_tests.py (basic_cat): New test.
* subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout: Add cat.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout: Add cat.
* subversion/libsvn_client/libsvn_client.dsp: Add cat.c.
* subversion/clients/cmdline/subversion_client.dsp: Add cat-cmd.c.
* tools/dev/bash_completion (_svn): Add cat command. Remove obsolete
-D/--date.
Revision
843714 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 4 15:44:38 2002 UTC
(21 years, 8 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4883 byte(s)
Diff to
previous 843463
(
colored)
Fix issue 953. Add a --dry-run option to merge.
* subversion/include/svn_client.h (svn_client_merge): Add dry-run parameter.
* subversion/include/svn_error_codes.h (SVN_ERR_WC_CONFLICT): Obsolete.
* subversion/include/svn_wc.h
(enum svn_wc_merge_outome_t): New
(svn_wc_merge): Add dry_run and merge_outome parameters.
(svn_wc_merge_prop_diffs): Add base_merge parameter.
* subversion/libsvn_client/diff.c
(struct merge_cmd_baton): Add dry_run member.
(merge_file_changed): Pass dry-run flag and merge-outcome to svn_wc_merge.
(merge_file_added): Don't call svn_client_copy during a dry-run. Pass
dry-run flag and merge-outcome to svn_wc_merge.
(merge_dir_added): Don't call svn_client_copy during a dry-run.
(merge_props_changed): Pass dry-run flag, and FALSE for base-merge, to
svn_wc_merge_prop_diffs.
(do_merge): Add dry_run parameter.
(do_single_file_merge): Add dry_run parameter. Pass dry-run flag and
merge-outcome to svn_wc_merge. Pass dry-run flag, and FALSE for
base-merge, to svn_wc_merge_prop_diffs.
(do_diff): Pass dry-run placeholder to svn_client__get_diff_editor.
(svn_client_merge): Add dry_run parameter. Use read-only access batons
if this is a dry-run.
* subversion/libsvn_client/client.h (svn_client__get_diff_editor): Add
dry_run parameter.
* subversion/libsvn_client/repos_diff.c
(struct edit_baton): Add dry_run member.
(get_parent_access, get_path_access): Add lenient parameter. Don't return
an error for missing access batons if lenient is set. Use get_path_access
to implement get_parent_access.
(delete_entry): Pass FALSE for lenient.
(add_directory): Pass dry-run flag for lenient.
(close_file, close_directory): Pass dry-run flag for lenient. Don't do
property merge for an add.
(svn_client__get_diff_editor): Add dry_run parameter and store in baton.
* subversion/libsvn_wc/merge.c
(svn_wc_merge): Add dry_run and merge_outcome parameters. Don't modify
the working copy during a dry-run. Return the merge outcome in the new
parameter and never return SVN_ERR_WC_CONFLICT.
* subversion/libsvn_wc/props.h (svn_wc_merge_prop_diffs): Add dry_run and
base_merge parameters.
* subversion/libsvn_wc/props.c
(svn_wc_merge_prop_diffs): Add dry_run and base_merge parameters. Add
missing break which fixes the file part of issue 953. Don't modify the
working copy during a dry-run. Only modify the base props if the new
flag is set, which is the bit that fixes issue 953.
* subversion/libsvn_wc/log.c (log_do_merge): Pass a merge-outcome to
svn_wc_merge.
* subversion/libsvn_wc/update_editor.c
(close_directory, svn_wc_install_file): Pass TRUE for base-merge and
FALSE for dry-run when calling svn_wc_merge_prop_diffs.
* subversion/clients/cmdline/cl.h
(enum svn_cl__longopt_t): Add svn_cl__dry_run member.
(struct svn_cl__opt_state_t) Add dry_run member.
* subversion/clients/cmdline/merge-cmd.c (svn_cl__merge): Pass dry-run
option to svn_client_merge.
* subversion/clients/cmdline/main.c
(svn_cl__options): Add dry-run option.
(svn_cl__cmd_table): Reorder import options to match other commands. Add
dry-run to merge.
(main): Set dry_run in the the options structure.
* subversion/tests/clients/cmdline/svntest/actions.py
(run_and_verify_merge): Run a dry-run merge first and compare its output
with that of the real merge.
* subversion/tests/clients/cmdline/svntest/merge_tests.py
(simple_propery_merge): A new, rather crude, test.
* tools/dev/bash_completion (_svn): Reorder options to match order shown
by svn help. Remove xml-file comment. Add --dry-run and --incremental.
Revision
843098 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 22 20:43:59 2002 UTC
(21 years, 11 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4840 byte(s)
Diff to
previous 842815
(
colored)
* tools/dev/bash_completion (_svn): Add pe synonym. Update options
for add, cp, rm, ls, merge, mkdir, mv, pedit, revert, resolve, st,
sw, and up commands.
Revision
841952 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun May 5 14:43:04 2002 UTC
(22 years, 2 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4509 byte(s)
Diff to
previous 841887
(
colored)
* subversion/clients/cmdline/main.c (svn_cl__cmd_table): Add username and
password options to 'svn switch', remove unused force option.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout:
Update for new switch help text.
* tools/dev/bash_completion (_svn): Update log and switch options.
Revision
841883 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 27 19:23:38 2002 UTC
(22 years, 3 months ago)
by
rooneg
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 4323 byte(s)
Diff to
previous 841872
(
colored)
As requested by cmpilato in issue #676, add an 'svn info' command, which
prints out the contents of the svn_wc_entry_t for a given versioned resource.
* CHANGES
note the addition of the 'svn info' command.
* subversion/clients/cmdline/cl.h
add declaration for svn_cl__info.
* subversion/clients/cmdline/info-cmd.c
new file implementing the info command.
* subversion/clients/cmdline/main.c
hook up the info command.
* subversion/clients/cmdline/man/svn.1
document the info command.
* subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout
update for the addition of info command.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout
ditto.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_stderr
ditto.
* tools/dev/bash_completion
add 'info' to the tab completion.
Revision
841865 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Added
Fri Apr 26 05:12:16 2002 UTC
(22 years, 3 months ago)
by
philip
Original Path:
subversion/trunk/tools/dev/bash_completion
File length: 3895 byte(s)
Add a bash programmable completion file for svn, which is how I discovered
that some options were missing.
* subversion/clients/cmdline/main.c (svn_cl__cmd_table): Add -D/--date to
copy, move, merge and switch.
* tools/dev/bash_completion: New file.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.