Joel N. Weber II


Suggested
r1103684, r1100830

r1103684 | stsp | 2011-05-16 05:45:59 -0500 (Mon, 16 May 2011)

* subversion/svn/main.c
  (svn_cl__cmd_table): In the help text for 'svn log', mention that the
   --depth option is only valid in combination with the --diff option.

* subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout: Update.

Suggested by: Joel N. Weber II


r1100830 | stsp | 2011-05-08 17:44:29 -0500 (Sun, 08 May 2011)

Add --depth option support to svn log --diff, as already exists for svn diff.

* subversion/svn/main.c
  (svn_cl__cmd_table): Add --depth option to log subcommand.

* subversion/svn/log-cmd.c
  (log_receiver_baton): New member 'depth'.
  (log_entry_receiver): Pass depth from baton to svn_client_diff() API.
  (svn_cl__log): Make sure that --depth is specified together with --diff.
   Put the value of the --depth option, if any, into the log receiver baton.
   By default the depth is 'infinity' as before.

Suggested by: Joel N. Weber II