Checkout
stsp
committed
on 24 Feb 16
Remove 'const' from all svn_client_conflict_t.

We reserve the right to do anything to conflict objects under the hood,
anywhere. This type … Show more
Remove 'const' from all svn_client_conflict_t.

We reserve the right to do anything to conflict objects under the hood,

anywhere. This type is opaque so callers shouldn't care about constness.

* subversion/include/svn_client.h,

 subversion/libsvn_client/conflicts.c

 (svn_client_conflict_get_local_abspath,

  svn_client_conflict_get_operation,

  svn_client_conflict_get_incoming_change,

  svn_client_conflict_get_local_change,

  svn_client_conflict_get_repos_info,

  svn_client_conflict_get_incoming_old_repos_location,

  svn_client_conflict_tree_get_resolution,

  svn_client_conflict_prop_get_resolution,

  svn_client_conflict_text_get_resolution): Drop 'const' from conflict.

* subversion/svn/cl-conflicts.h,

 subversion/svn/cl-conflicts.c

 (svn_cl__get_human_readable_prop_conflict_description,

  svn_cl__get_human_readable_prop_conflict_description,

  append_tree_conflict_info_xml): Drop 'const' from conflict.

* subversion/svn/conflict-callbacks.c

 (show_diff, show_conflicts): Drop 'const' from conflict.

Show less