Checkout
lgo
committed
on 08 Jun 08
Combine duplicate code into an already existing function.

* subversion/libsvn_ra_serf/property.c
* subversion/libsvn_ra_serf/ra_serf.h
(s… Show more
Combine duplicate code into an already existing function.

* subversion/libsvn_ra_serf/property.c

* subversion/libsvn_ra_serf/ra_serf.h

 (svn_ra_serf__get_baseline_info): Add extra parameter latest_revnum, which

  will be set to the baseline revision.

* subversion/libsvn_ra_serf/serf.c

 (svn_ra_serf__get_latest_revnum,

  fetch_path_props,

  svn_ra_serf__get_dir): Use svn_ra_serf__get_baseline_info to avoid code

   duplication.

* subversion/libsvn_ra_serf/blame.c

 (svn_ra_serf__get_file_revs): Ditto.

* subversion/libsvn_ra_serf/mergeinfo.c

 (svn_ra_serf__get_mergeinfo): Add extra NULL argument for latest_revnum in

  call to svn_ra_serf__get_baseline_info.

* subversion/libsvn_ra_serf/getlocationsegments.c

 (svn_ra_serf__get_location_segments): Ditto.

* subversion/libsvn_ra_serf/log.c

 (svn_ra_serf__get_log): Ditto.

* subversion/libsvn_ra_serf/getlocations.c

 (svn_ra_serf__get_locations): Ditto. Show less