Checkout
C. Michael Pilato
committed
on 08 Nov 07
Make svn_client__path_relative_to_root() able to return two different
flavors of output -- with and without leading slashes. Update callers… Show more
Make svn_client__path_relative_to_root() able to return two different

flavors of output -- with and without leading slashes.  Update callers

to (currently) always pass TRUE for this parameter.

* subversion/libsvn_client/client.h,

* subversion/libsvn_client/util.c

 (svn_client__path_relative_to_root): Add 'include_leading_slash'

   parameter, and code to honor it.

* subversion/libsvn_client/copy.c

 (calculate_target_mergeinfo, wc_to_repos_copy): Update calls to

   svn_client__path_relative_to_root().

 (propagate_mergeinfo_within_wc): Update call to

   svn_client__path_relative_to_root(), passing repos->root, too.

   (And remove a comment bemoaning the no-longer-accurate implication

   that we can't do exactly this.)

* subversion/libsvn_client/list.c

 (svn_client_list2): Update calls to svn_client__path_relative_to_root().

* subversion/libsvn_client/log.c

 (svn_client__get_copy_source): Update calls to

   svn_client__path_relative_to_root().

* subversion/libsvn_client/merge.c

 (filter_reflected_revisions, calculate_remaining_ranges,

  record_mergeinfo_for_record_only_merge, do_single_file_merge,

  discover_and_merge_children): Update calls to

   svn_client__path_relative_to_root().

* subversion/libsvn_client/mergeinfo.c

 (svn_client_mergeinfo_get_merged): Update calls to

   svn_client__path_relative_to_root().

Show less