Christian Stork <cstork@ics.uci.edu>


Suggested
r858596, r845775

r845775 | kfogel | 2003-04-22 16:19:30 +0000 (Tue, 22 Apr 2003)

* subversion/tests/clients/cmdline/basic_tests.py
  (basic_ls): Add test cases for wc_root directory, nested directory,
    and implicit current directory.

Suggested by: Chris Stork <cstork@ics.uci.edu>
(See his patch in issue #1235.)


r858596 | maxb | 2006-02-18 18:41:52 +0000 (Sat, 18 Feb 2006)

Create infrastructure for per-subcommand specific option descriptions,
and use it to clarify -F and -m descriptions.

Suggested by: Christian Stork <cstork@ics.uci.edu>

* subversion/include/svn_opt.h
  (svn_opt_subcommand_desc2_t): New revision of structure.
  (svn_opt_subcommand_desc_t): Deprecate.
  (svn_opt_get_canonical_subcommand2): New function revision.
  (svn_opt_get_canonical_subcommand): Deprecate.
  (svn_opt_get_option_from_code2): New function revision.
  (svn_opt_get_option_from_code): Deprecate.
  (svn_opt_subcommand_takes_option2): New function revision. 
  (svn_opt_subcommand_takes_option): Deprecate.
  (svn_opt_print_generic_help2): New function revision.
  (svn_opt_print_generic_help): Deprecate.
  (svn_opt_subcommand_help2): New function revision.
  (svn_opt_subcommand_help): Deprecate.
  (svn_opt_print_help2): New function revision.
  (svn_opt_print_help): Deprecate.

* subversion/libsvn_subr/opt.c
  (svn_opt_get_option_from_code2):
    Copy svn_opt_get_option_from_code(), add additional parameters, and logic
    to search for a per-subcommand description.
  (svn_opt_get_canonical_subcommand2, print_command_info2,
  svn_opt_subcommand_takes_option2, svn_opt_print_generic_help2,
  svn_opt_subcommand_help2, svn_opt_print_help2):
    Copy from previous version, adjust types and calls to latest version.

* subversion/svn/cl.h (svn_cl__cmd_table):
    Update to svn_opt_subcommand_desc2_t.

* subversion/svn/help-cmd.c (svn_cl__help): Update to svn_opt_print_help2().

* subversion/svn/main.c
  (svn_cl__option_table{"message"}): Change "commit message" to "log message".
  (svn_cl__option_table{"file"}): Change "data" to "log message".
  (svn_cl__cmd_table{"lock"}): Add specific descriptions for -F and -m.
  (svn_cl__cmd_table{"propset"}): Add a specific description for -F.
  (main): Update to new APIs.