Checkout
rhuijben
committed
on 16 Jan 13
To finally close issue #3009, and for similarity with 'svnlook diff', add a
--no-diff-added output filtering argument to 'svn diff'.

* subv… Show more
To finally close issue #3009, and for similarity with 'svnlook diff', add a

--no-diff-added output filtering argument to 'svn diff'.

* subversion/include/svn_client.h

 (svn_client_diff6,

  svn_client_diff_peg6): Update arguments.

* subversion/libsvn_client/deprecated.c

 (svn_client_diff5,

  svn_client_diff_peg5): Update caller.

* subversion/libsvn_client/diff.c

 (diff_cmd_baton): Add variable.

 (diff_file_added): Filter diff if requested.

 (svn_client_diff6,

  svn_client_diff_peg6): Set value in baton.

* subversion/svn/cl.h

 (svn_cl__opt_state_t.diff): Add variable.

* subversion/svn/diff-cmd.c

 (svn_cl__diff): Update caller.

* subversion/svn/log-cmd.c

 (svn_cl__log): Update caller.

* subversion/svn/svn.c

 (svn_cl__longopt_t): Add value.

 (svn_cl__options): Add argument.

 (svn_cl__cmd_table): Declare --no-diff-added for diff.

 (sub_main): Parse argument.

Show less