William Nagel <bill@stagelogic.com>


Patch
r863598, r858980

r863598 | cmpilato | 2007-02-28 16:23:08 -0600 (Wed, 28 Feb 2007)

Fix issue #2663 ("Add a --non-recursive (-N) option to svnlook).

Patch by: William Nagel <bill@stagelogic.com>
(Tweaked by me.)

* subversion/svnlook/main.c
  (options_table): Add an element for the non-recursive option.
  (cmd_table): Add -N as a valid option for the tree command.
  (svnlook_opt_state): Add a boolean for storing the non-recursive state.
  (print_tree): Add a recurse parameter.  Add a check against
    the recurse and indentation parameters to short-circuit recursion
    into the tree when in --non-recursive mode.
  (do_tree): Add a recurse parameter, passing it to print_tree().
  (subcommand_tree): Pass non_recursive option state to do_tree() (reversed).
  (main): Handle -N option.
  
* subversion/tests/cmdline/svnlook_tests.py
  (tree_non_recursive): New test case to exercise -N option.
  (test_list): Add reference to new test.


r858980 | kfogel | 2006-03-15 22:43:14 -0600 (Wed, 15 Mar 2006)

* www/links.html
  (books): Bill Nagel's "Subversion Version Control" book is
  downloadable under an open license, adjust blurb accordingly.

Patch by: William Nagel <bill@stagelogic.com>