/[Apache-SVN]/subversion/trunk/tools/client-side/bash_completion
ViewVC logotype

Log of /subversion/trunk/tools/client-side/bash_completion

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

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 1821995 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 23 12:41:16 2018 UTC (6 years, 6 months ago) by julianfoad
File length: 49251 byte(s)
Diff to previous 1821994 (colored)
* tools/client-side/bash_completion
  (_svn): Move '--editor-cmd' into the standard set of log-message options,
    like it is in 'svn.c'.

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 1820046 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 4 09:57:48 2018 UTC (6 years, 6 months ago) by julianfoad
File length: 48931 byte(s)
Diff to previous 1820045 (colored)
* tools/client-side/bash_completion: Add the 'svn shelves -q' option.
  (That option is committed in the next revision, r1820047.)


Revision 1820045 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 4 09:57:02 2018 UTC (6 years, 6 months ago) by julianfoad
File length: 48924 byte(s)
Diff to previous 1817492 (colored)
* tools/client-side/bash_completion: Add the new '--password-from-stdin' option.

Revision 1817492 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 8 12:41:49 2017 UTC (6 years, 7 months ago) by julianfoad
File length: 48892 byte(s)
Diff to previous 1817483 (colored)
* tools/client-side/bash_completion: Update the completions for 'svnadmin'.

Revision 1817483 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 8 11:20:25 2017 UTC (6 years, 7 months ago) by julianfoad
File length: 48403 byte(s)
Diff to previous 1816886 (colored)
* tools/client-side/bash_completion: Fix spelling in comments.

Revision 1816886 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 1 16:40:18 2017 UTC (6 years, 7 months ago) by julianfoad
File length: 48403 byte(s)
Diff to previous 1815228 (colored)
* tools/client-side/bash_completion: Update.

Revision 1815228 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 14 16:03:34 2017 UTC (6 years, 8 months ago) by julianfoad
File length: 48355 byte(s)
Diff to previous 1812099 (colored)
Merge the 'shelve' branch to trunk (dropping BRANCH-README).

Revision 1812099 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 13 09:43:24 2017 UTC (6 years, 9 months ago) by julianfoad
File length: 48105 byte(s)
Diff to previous 1812050 (colored)
* tools/client-side/bash_completion
  (_svnadmin): Add the missing 'dump-revprops' and 'load-revprops' commands.

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 1802196 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 17 19:34:22 2017 UTC (7 years ago) by philip
File length: 47964 byte(s)
Diff to previous 1738021 (colored)
* tools/client-side/bash_completion
  (_svn): Add some new-in-1.10 options to ls, lock, unlock and update.


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 1701494 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 6 14:53:25 2015 UTC (8 years, 10 months ago) by julianfoad
File length: 47807 byte(s)
Diff to previous 1698276 (colored)
In 'bash_completion' implement much better URL completion.

See the dev@ email thread "bash_completion - subversion add: svn ls/merge
^/<remote path>", started by Christian Ferbar on 2015-08-12, archived at
e.g. <http://svn.haxx.se/dev/archive-2015-08/0076.shtml> or
<http://mail-archives.apache.org/mod_mbox/subversion-dev/201508.mbox/%3C3421020.HomHkagcjs@chris-ws%3E>.

Patch by: Christian Ferbar <chris{_AT_}qnipp.com>
(tweaked by me: removed a change in handling the SVN_BASH_COMPL_EXT env var)

* tools/client-side/bash_completion
  (_svn_lls): Add a comment noting brokenness.
  (_svn_complete_target): New.
  (_svn): Use _svn_complete_target() to complete URLs for merge, mergeinfo,
    checkout, list. Add a comment noting brokenness.


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 1695871 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 14 12:04:03 2015 UTC (8 years, 11 months ago) by julianfoad
File length: 45585 byte(s)
Diff to previous 1678745 (colored)
* tools/client-side/bash_completion
  (_svn): Suppress a trailing space when completing to a partial URL.

Revision 1678745 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 11 12:51:49 2015 UTC (9 years, 2 months ago) by philip
File length: 45510 byte(s)
Diff to previous 1673228 (colored)
* tools/client-side/bash_completion (_svn): Update trust options.


Revision 1673228 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 13 15:36:56 2015 UTC (9 years, 3 months ago) by philip
File length: 45590 byte(s)
Diff to previous 1662622 (colored)
tools/client-side/bash_completion (_svn): Add -r to status

Revision 1662622 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 27 02:30:03 2015 UTC (9 years, 5 months ago) by brane
File length: 45583 byte(s)
Diff to previous 1662291 (colored)
* tools/client-side/bash_completion: Allow --show-item and --no-newline with 'info'.


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 1662250 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 25 16:03:23 2015 UTC (9 years, 5 months ago) by philip
File length: 45561 byte(s)
Diff to previous 1660418 (colored)
* tools/client-side/bash_completion (_svn): Add --pin-externals.

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 1660373 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 17 13:28:55 2015 UTC (9 years, 5 months ago) by philip
File length: 45602 byte(s)
Diff to previous 1631473 (colored)
* tools/client-side/bash_completion
  (_svn): Add new trust options, remove --auto-moves from log.


Revision 1631473 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 13 17:12:02 2014 UTC (9 years, 9 months ago) by philip
File length: 45496 byte(s)
Diff to previous 1596841 (colored)
* tools/client-side/bash_completion
  (_svnadmin): Add delrevprop, avoid duplicate -t/--transaction.


Revision 1596841 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 22 12:30:51 2014 UTC (10 years, 2 months ago) by philip
File length: 45328 byte(s)
Diff to previous 1579922 (colored)
* tools/client-side/bash_completion (_svn): Add auth command.

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 1577314 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 13 20:56:31 2014 UTC (10 years, 4 months ago) by philip
File length: 45230 byte(s)
Diff to previous 1569021 (colored)
* tools/client-side/bash_completion (_svnadmin): Add info command.

Revision 1569021 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 17 15:22:47 2014 UTC (10 years, 5 months ago) by philip
File length: 45225 byte(s)
Diff to previous 1546975 (colored)
* tools/client-side/bash_completion
  (_svn): Add options to cat, info and mergeinfo.
  (_svnlook): Add filesize command.


Revision 1546975 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 2 12:18:06 2013 UTC (10 years, 7 months ago) by philip
File length: 45077 byte(s)
Diff to previous 1448690 (colored)
* tools/client-side/bash_completion
  (_svn): Add youngest command, add options to cleanup, log and mergeinfo.


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 1340413 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 19 10:55:20 2012 UTC (12 years, 2 months ago) by fabien
File length: 44383 byte(s)
Diff to previous 1295006 (colored)
Minor bash completion update

* tools/client-side/bash_completion: add and complete options


Revision 1295006 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 29 08:22:01 2012 UTC (12 years, 4 months ago) by danielsh
File length: 44391 byte(s)
Diff to previous 1177001 (colored)
Revert r1295004, which contained numerous accidental changes.

[ This was an svnmucc commit that replaced trunk@HEAD with
trunk@r1295003.  See r1295004 for the exact changes reverted. ]


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 1065010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 29 12:36:03 2011 UTC (13 years, 5 months ago) by fabien
File length: 43996 byte(s)
Diff to previous 901260 (colored)
add basic handling of relocate command in bash completion

* tools/client-side/bash_completion: handle 'relocate' command


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 887663 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 6 10:52:23 2009 UTC (14 years, 7 months ago) by fabien
File length: 43020 byte(s)
Diff to previous 882537 (colored)
Note about hack broken with bash 4.

* tools/client-side/bash_completion:
  (_svn): expanded comment


Revision 882537 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 20 12:48:59 2009 UTC (14 years, 8 months ago) by fabien
File length: 42878 byte(s)
Diff to previous 877921 (colored)
updated todo list in bash_completion.

* tools/client-side/bash_completion: todo update


Revision 877921 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 27 12:34:16 2009 UTC (15 years, 2 months ago) by fabien
File length: 42820 byte(s)
Diff to previous 877919 (colored)
Add basic url completion to bash.

* tools/client-side/bash_completion:
  (_svn): Handle a new option for completing urls on some commands
       (http://... file://... and so on).


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 877917 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 27 08:37:20 2009 UTC (15 years, 2 months ago) by fabien
File length: 39639 byte(s)
Diff to previous 877612 (colored)
Improved comments.

* tools/client-side/bash_completion:
  (_svn): Add comment about why svn:mergeinfo is not included.


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 877553 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 25 23:52:52 2009 UTC (15 years, 3 months ago) by arfrever
File length: 37376 byte(s)
Diff to previous 877544 (colored)
Add BASH completion for svndumpfilter.

* tools/client-side/bash_completion
  (_svndumpfilter): New.


Revision 877544 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 25 00:01:41 2009 UTC (15 years, 3 months ago) by arfrever
File length: 35680 byte(s)
Diff to previous 876526 (colored)
* tools/client-side/bash_completion
  (_svn): Add completion for '--set-depth exclude'.


Revision 876526 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 10 13:24:06 2009 UTC (15 years, 4 months ago) by fabien
File length: 35615 byte(s)
Diff to previous 876525 (colored)
bash completion update.

* tools/client-side/bash_completion:
  _svn: suggests executables for --*-cmd option arguments


Revision 876525 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 10 13:15:57 2009 UTC (15 years, 4 months ago) by fabien
File length: 35463 byte(s)
Diff to previous 876524 (colored)
bash completion update.

* tools/client-side/bash_completion:
  _svn: add new 'patch' command, and --svnpatch option to diff.


Revision 876524 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 10 12:53:56 2009 UTC (15 years, 4 months ago) by fabien
File length: 35369 byte(s)
Diff to previous 875915 (colored)
bash completion update.

* tools/client-side/bash_completion:
  _svn: use same argument completion for 'mergeinfo' as for 'merge'


Revision 875915 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 13 12:27:21 2009 UTC (15 years, 5 months ago) by fabien
File length: 35347 byte(s)
Diff to previous 875519 (colored)
Add "Header" keyword completion (available since r35386).

* tools/client-side/bash_completion
  (_svn) "Header" keyword added to completion.


Revision 875519 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 24 18:48:15 2009 UTC (15 years, 6 months ago) by arfrever
File length: 35340 byte(s)
Diff to previous 875518 (colored)
* tools/client-side/bash_completion
  (_svn_grcut): Restore IFS after changing it earlier and update pattern.


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 874944 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 19 22:21:55 2008 UTC (15 years, 7 months ago) by arfrever
File length: 34978 byte(s)
Diff to previous 873011 (colored)
Add BASH completion for svnlook.

* tools/client-side/bash_completion
  (_svnlook): New.


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 872998 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 5 13:50:06 2008 UTC (15 years, 10 months ago) by arfrever
File length: 31680 byte(s)
Diff to previous 872996 (colored)
* tools/client-side/bash_completion
  (_svn, _svnadmin): Use '+=' for appending to variables and fix indentation.


Revision 872996 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 5 12:36:46 2008 UTC (15 years, 10 months ago) by fabien
File length: 31809 byte(s)
Diff to previous 872990 (colored)
Comments added about bug when completing in the middle of the line.

* tools/client-side/bash_completion: added comments


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 872985 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 5 08:31:59 2008 UTC (15 years, 10 months ago) by fabien
File length: 30137 byte(s)
Diff to previous 872974 (colored)
Add --set-depth option argument completion.

* tools/client-side/bash_completion: handle --set-depth completion


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 870859 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 14:07:26 2008 UTC (16 years, 3 months ago) by arfrever
File length: 29961 byte(s)
Diff to previous 870727 (colored)
* tools/client-side/bash_completion
  (_svnadmin): Update.


Revision 870727 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 17 08:35:46 2008 UTC (16 years, 3 months ago) by fabien
File length: 29758 byte(s)
Diff to previous 870717 (colored)
Follow up to r30643.

* tools/client-side/bash_completion
  (): fix one --accept value for 'svn resolve' command, and more
  comments.

Patch by: stylesen
          me


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 867351 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 18 12:14:37 2007 UTC (16 years, 9 months ago) by fabien
File length: 28226 byte(s)
Diff to previous 867069 (colored)
Bash completion updated.

* tools/client-side/bash_completion: -g option for some subcommands.


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 867065 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 6 13:46:18 2007 UTC (16 years, 9 months ago) by fabien
File length: 27068 byte(s)
Diff to previous 867059 (colored)
Improved documentation comments for bash completion.

* tools/client-side/bash_completion: better doc


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 865852 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 07:14:23 2007 UTC (17 years ago) by fabien
File length: 25391 byte(s)
Diff to previous 865847 (colored)
Improved documentation as suggested by Karl Fogel.

* tools/client-side/bash_completion: more comments


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 864164 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 24 17:22:45 2007 UTC (17 years, 4 months ago) by fabien
File length: 21102 byte(s)
Diff to previous 864163 (colored)
cosmetics: over 80-column comment line shortened.

* tools/client-side/bash_completion: fixed one comment


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 864032 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 21 15:50:13 2007 UTC (17 years, 4 months ago) by fabien
File length: 21099 byte(s)
Diff to previous 861847 (colored)
Extends bash completion to handle "svn diff --extensions ..." values. 

* tools/client-side/bash_completion: improved _svn()


Revision 861847 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 5 01:23:58 2006 UTC (17 years, 9 months ago) by dlr
File length: 20939 byte(s)
Diff to previous 861607 (colored)
* tools/client-side/bash_completion
  Add --force option for 'checkout', 'switch', and 'update'.


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 861496 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 11 15:43:31 2006 UTC (17 years, 10 months ago) by rooneg
File length: 20651 byte(s)
Diff to previous 860427 (colored)
Add new 'svnadmin create' option --pre-1.4-compatible to bash_completion.

Patch by: Mathias Weinert <mathias.weinert@gfa-net.de>
Tweaked by: me

* tools/client-side/bash_completion: Add --pre-1.4-compatible.


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 858706 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 27 18:37:26 2006 UTC (18 years, 5 months ago) by philip
File length: 20533 byte(s)
Diff to previous 858455 (colored)
* tools/client-side/bash_completion (_svn): Add --force to blame.


Revision 858455 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 7 22:20:59 2006 UTC (18 years, 5 months ago) by philip
File length: 20525 byte(s)
Diff to previous 858138 (colored)
* tools/client-side/bash_completion (_svn): Add --summarize to diff.


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 855976 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 25 15:48:36 2005 UTC (18 years, 11 months ago) by kfogel
File length: 8773 byte(s)
Diff to previous 855050 (colored)
* tools/client-side/bash_completion: Fix syntax errors, see issue #2387.

Patch by: Nicolas Vilz <devniv@tigris.org>
(Tweaked by me to remove some unrelated changes.)


Revision 855050 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 4 23:28:11 2005 UTC (19 years, 1 month ago) by philip
File length: 8773 byte(s)
Diff to previous 854995 (colored)
* tools/client-side/bash_completion
  (_svn): Add --username et al. to info, add --xml/--incremental to blame.


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 854553 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 27 16:58:30 2005 UTC (19 years, 3 months ago) by philip
File length: 8726 byte(s)
Diff to previous 854162 (colored)
* tools/client-side/bash_completion (_svn): Remove --editor-cmd from lock.


Revision 854162 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 10 23:50:57 2005 UTC (19 years, 3 months ago) by philip
File length: 8739 byte(s)
Diff to previous 853711 (colored)
* tools/client-side/bash_completion (_svn): Remove version command.


Revision 853711 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 24 17:22:04 2005 UTC (19 years, 4 months ago) by philip
File length: 8781 byte(s)
Diff to previous 853703 (colored)
* tools/client-side/bash_completion
  (_svn): Remove --message and --editor-cmd from unlock.


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 853559 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 18 23:43:16 2005 UTC (19 years, 4 months ago) by philip
File length: 8586 byte(s)
Diff to previous 853252 (colored)
* tools/client-side/bash_completion (_svn): Add --revision to info.


Revision 853252 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 16:16:55 2005 UTC (19 years, 5 months ago) by philip
File length: 8579 byte(s)
Diff to previous 852935 (colored)
* tools/client-side/bash_completion (_svn): Add --non-recursive to export.


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 852160 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 29 22:09:35 2004 UTC (19 years, 8 months ago) by philip
File length: 8260 byte(s)
Diff to previous 851280 (colored)
* tools/client-side/bash_completion (_svn): Add --force to diff.


Revision 851280 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 1 23:19:10 2004 UTC (19 years, 9 months ago) by philip
File length: 8252 byte(s)
Diff to previous 851259 (colored)
* tools/client-side/bash_completion (_svn): Make --limit require a parameter.


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 850605 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 9 19:57:05 2004 UTC (19 years, 11 months ago) by philip
File length: 8236 byte(s)
Diff to previous 850396 (colored)
* tools/client-side/bash_completion (_svn): Add version, add --force to add.


Revision 850396 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 23:20:57 2004 UTC (20 years ago) by philip
File length: 8173 byte(s)
Diff to previous 849661 (colored)
* tools/client-side/bash_completion (_svn): Add --native-eol.


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 849310 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 30 20:43:27 2004 UTC (20 years, 4 months ago) by philip
File length: 8127 byte(s)
Diff to previous 848866 (colored)
* tools/client-side/bash_completion (_svnadmin): Add --deltas.


Revision 848866 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 20 19:33:58 2004 UTC (20 years, 5 months ago) by philip
File length: 8118 byte(s)
Diff to previous 848524 (colored)
* tools/client-side/bash_completion (_svn): Add --verbose to blame.


Revision 848524 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 22 20:36:54 2004 UTC (20 years, 6 months ago) by kfogel
File length: 8105 byte(s)
Diff to previous 847938 (colored)
Follow up to r8390:

* tools/client-side/bash_completion
  (merge): Now takes '--ignore-ancestry' instead of '--notice-ancestry'.


Revision 847938 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 27 23:48:19 2003 UTC (20 years, 8 months ago) by philip
File length: 8105 byte(s)
Diff to previous 847892 (colored)
* tools/client-side/bash_completion (_svnadmin): Add --bdb-log-keep to create.


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 847791 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 12 22:56:57 2003 UTC (20 years, 8 months ago) by philip
File length: 8082 byte(s)
Diff to previous 847668 (colored)
* tools/client-side/bash_completion (_svnadmin): Add deltify, remove lscr.


Revision 847668 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 1 17:47:10 2003 UTC (20 years, 8 months ago) by philip
File length: 8060 byte(s)
Diff to previous 847599 (colored)
* tools/client-side/bash_completion
  (_svn): Add praise.
  (_svnadmin): Add hotcopy.


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 847410 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 7 18:32:12 2003 UTC (20 years, 9 months ago) by philip
File length: 7846 byte(s)
Diff to previous 847194 (colored)
* tools/client-side/bash_completion (_svn): Add --auto-props --no-auto-props.


Revision 847194 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 21 21:35:18 2003 UTC (20 years, 10 months ago) by philip
File length: 7632 byte(s)
Diff to previous 847076 (colored)
* tools/client-side/bash_completion (_svnadmin): Remove createtxn.


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 846754 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 8 18:43:19 2003 UTC (20 years, 11 months ago) by philip
File length: 7702 byte(s)
Diff to previous 846682 (colored)
* tools/client-side/bash_completion (_svnadmin): The archive command is
  now lsdblogs.


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 846672 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 28 18:08:10 2003 UTC (21 years ago) by kfogel
File length: 5489 byte(s)
Diff to previous 846636 (colored)
Follow up to revision 6597:

* tools/client-side/bash_completion: The command is "resolved" now,
    not "resolve".


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 846452 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 30 22:46:21 2003 UTC (21 years, 1 month ago) by dws
File length: 5253 byte(s)
Diff to previous 846450 (colored)
* tools/client-side/bash_completion : Revert rev 6376 as it doesn't work,
     it merely gets rid of the syntax errors.  Thanks to Phillip Martin for
     noting this.


Revision 846450 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 30 20:05:56 2003 UTC (21 years, 1 month ago) by dws
File length: 5253 byte(s)
Diff to previous 846424 (colored)
 * tools/client-side/bash_completion : Fix syntax errors in bash_completion
      script.

    Reviewed and approved by gstein.



Revision 846424 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 25 21:50:03 2003 UTC (21 years, 1 month ago) by philip
File length: 5253 byte(s)
Diff to previous 846373 (colored)
* tools/client-side/bash_completion (_svn): Add --force to export.


Revision 846373 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 19 21:26:52 2003 UTC (21 years, 1 month ago) by philip
File length: 5245 byte(s)
Diff to previous 846278 (colored)
* tools/client-side/bash_completion (_svn): Add --force-log.


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 846251 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 16:40:26 2003 UTC (21 years, 1 month ago) by kfogel
File length: 5264 byte(s)
Diff to previous 846247 (colored)
Revert revision 6173, as per list discussion: back to 'svn revert'
again, instead of 'svn undo', and we'll find some other way to resolve
issue #1341.


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 845464 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 19 18:21:04 2003 UTC (21 years, 4 months ago) by philip
File length: 5175 byte(s)
Diff to previous 845438 (colored)
* tools/client-side/bash_completion (_svn): Remove get alias.


Revision 845438 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 17 19:26:46 2003 UTC (21 years, 4 months ago) by philip
File length: 5179 byte(s)
Diff to previous 845267 (colored)
* tools/dev/bash_completion (_svn): Add get alias and --editor-cmd option.


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 844445 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 13 22:43:13 2003 UTC (21 years, 6 months ago) by rassilon
File length: 5005 byte(s)
Diff to previous 844422 (colored)
* Just about everything else that wasn't test output, a binary file,
or already to set to CRLF: Set svn:eol-style to native.


Revision 844422 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 11 21:50:27 2003 UTC (21 years, 6 months ago) by kfogel
File length: 5005 byte(s)
Copied from: subversion/trunk/tools/dev/bash_completion revision 844420
Diff to previous 844333 (colored)
As Rafael Garcia-Suarez <rgarciasuarez@wanadoo.fr> points out, the
bash_completion file isn't only for developers, so move it into
client-side/.


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 843941 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 23 00:53:18 2002 UTC (21 years, 8 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4957 byte(s)
Diff to previous 843939 (colored)
* tools/dev/bash_completion (_svn): Add --revprop.


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 843463 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 17 17:22:57 2002 UTC (21 years, 9 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4864 byte(s)
Diff to previous 843098 (colored)
* tools/dev/bash_completion (_svn): Add options --no-auth-cache and
  --non-interactive, remove options -D and --date.


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 842815 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 26 21:05:19 2002 UTC (22 years ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4681 byte(s)
Diff to previous 842728 (colored)
* subversion/clients/cmdline/main.c (svn_cl__cmd_desc_t): Add -D option
  to list/ls command.

* tools/dev/bash_completion (_svn): Add list/ls command.


Revision 842728 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 23 19:52:22 2002 UTC (22 years ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4642 byte(s)
Diff to previous 842647 (colored)
* tools/dev/bash_completion (_svn): Allow -R and -N.


Revision 842647 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 17 19:45:54 2002 UTC (22 years ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4512 byte(s)
Diff to previous 842543 (colored)
* tools/dev/bash_completion (_svn): Add --message-encoding, remove
  --destination.  Add --nonrecursive to checkout. Add ? as an alias
  for help completion.


Revision 842543 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 11 18:48:40 2002 UTC (22 years ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4603 byte(s)
Diff to previous 842431 (colored)
* tools/dev/bash_completion (_svn): Add --recursive to info and resolve.


Revision 842431 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 27 22:40:34 2002 UTC (22 years, 1 month ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4579 byte(s)
Diff to previous 842298 (colored)
* tools/dev/bash_completion (_svn): Add --strict to log.


Revision 842298 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 14 21:51:32 2002 UTC (22 years, 1 month ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4570 byte(s)
Diff to previous 841995 (colored)
* tools/dev/bash_completion (_svn): Add export command.


Revision 841995 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 10 01:47:17 2002 UTC (22 years, 2 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4517 byte(s)
Diff to previous 841952 (colored)
* tools/dev/stress.pl: New file to do a simple test of concurrent
  repository access.

* tools/dev/bash_completion (_svn): Add --force to merge.


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 841887 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 27 23:05:24 2002 UTC (22 years, 3 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4504 byte(s)
Diff to previous 841885 (colored)
* tools/dev/bash_completion (_svn):  More alternative options that can
  be removed once one has been given.


Revision 841885 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 27 22:39:05 2002 UTC (22 years, 3 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4225 byte(s)
Diff to previous 841883 (colored)
* tools/dev/bash_completion (_svn): Correct diff options (what was I
  thinking of?) and info options. Also remove both revision and date
  options when either has already been given.


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 841872 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 27 03:39:00 2002 UTC (22 years, 3 months ago) by rooneg
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4310 byte(s)
Diff to previous 841871 (colored)
ok, i promise, i'm going to stop playing with this and go to sleep now.

* tools/dev/bash_completion
  (_svn): complete on 'h' in the same way as we do for 'help'


Revision 841871 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 27 03:31:39 2002 UTC (22 years, 3 months ago) by rooneg
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4314 byte(s)
Diff to previous 841870 (colored)
* tools/dev/bash_completion:
  (_svn): if we're completing for 'svn help', just complete on any valid svn 
   command.


Revision 841870 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 27 00:41:38 2002 UTC (22 years, 3 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 4085 byte(s)
Diff to previous 841868 (colored)
* tools/dev/bash_completion: Document enabling programmable completion
  and extended patern matching.


Revision 841868 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 26 19:42:50 2002 UTC (22 years, 3 months ago) by philip
Original Path: subversion/trunk/tools/dev/bash_completion
File length: 3969 byte(s)
Diff to previous 841865 (colored)
* tools/dev/bash_completion: Tweak, only expand options after user types
  a leading '-'


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.


infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26