/[Apache-SVN]
ViewVC logotype

Revision 1478987


Jump to revision: Previous Next
Author: pburba
Date: Fri May 3 21:50:52 2013 UTC (11 years, 7 months ago)
Changed paths: 3
Log Message:
A small bit of issue #4351 'improve automatic merge performance' work: Avoid
one to two network roundtrips to get the *same* mergeinfo catalogs while
calculating automatic merges.

* subversion/include/private/svn_client_private.h

  (svn_client__mergeinfo_log): New, wrapper around
   svn_client_mergeinfo_log2(). 

* subversion/libsvn_client/merge.c

  (short_circuit_mergeinfo_log): Wrap svn_client__mergeinfo_log instead of
   svn_client_mergeinfo_log2 (yes, it's a wrapper of a wrapper).  Add a
   in/out parameter for the target's mergeinfo catalog.

  (find_last_merged_location): Update calls to short_circuit_mergeinfo_log().
   On the first call, let the callee get the target's mergeinfo catalog.  On
   the second call, pass the callee the target's mergeinfo catalog, thus
   preventing it from asking the repository the same question twice.

* subversion/libsvn_client/mergeinfo.c

  (svn_client__mergeinfo_log): New, but mostly the old implementation of
   svn_client_mergeinfo_log2().

  (svn_client_mergeinfo_log2): Now just a wrapper around
   svn_client__mergeinfo_log().


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/private/svn_client_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/merge.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/mergeinfo.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26