Checkout
stsp
committed
on 09 May 12
Add a new --properties-only option to 'svn diff' to show only property changes.
This is the inverse of --ignore-properties. The two options … Show more
Add a new --properties-only option to 'svn diff' to show only property changes.

This is the inverse of --ignore-properties. The two options are mutually

exclusive.

* subversion/svn/diff-cmd.c

 (svn_cl__diff): Pass the properties_only option to the client layer.

* subversion/svn/main.c

 (svn_cl__longopt_t, svn_cl__options, svn_cl__cmd_table): Add a new

  --properties-only option. The internal flag is called opt_properties_only".

* subversion/svn/log-cmd.c

 (log_entry_receiver): When showing diffs, set properties_only to FALSE.

* subversion/svn/cl.h

 (svn_cl__opt_state_t): New properties_only option.

* subversion/libsvn_client/diff.c

 (diff_cmd_baton): Add properties_only flag.

 (diff_content_changed): Do nothing if properties_only is set.

 (svn_client_diff6, svn_client_diff_peg6): New properties_only parameter.

  Raise an error if both ignore_properties and properties_only are set.

* subversion/libsvn_client/deprecated.c

 (svn_client_diff5, svn_client_diff_peg5): Pass FALSE for properties_only.

* subversion/include/svn_client.h

 (svn_client_diff6, svn_client_diff_peg6): Update declarations and docstring.

Show less