You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/12/23 13:40:53 UTC

svn commit: r1553105 - /subversion/trunk/subversion/libsvn_client/log.c

Author: rhuijben
Date: Mon Dec 23 12:40:52 2013
New Revision: 1553105

URL: http://svn.apache.org/r1553105
Log:
Following up on r1553101, store the right path in the default segment for the
case where we don't obtain path segments in a separate step.

* subversion/libsvn_client/log.c
  (svn_client_log6): Update path and re-add accidentally removed blank line.

Modified:
    subversion/trunk/subversion/libsvn_client/log.c

Modified: subversion/trunk/subversion/libsvn_client/log.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/log.c?rev=1553105&r1=1553104&r2=1553105&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/log.c (original)
+++ subversion/trunk/subversion/libsvn_client/log.c Mon Dec 23 12:40:52 2013
@@ -913,7 +913,8 @@ svn_client_log6(const apr_array_header_t
 
       segment->range_start = oldest_rev;
       segment->range_end = actual_loc->rev;
-      segment->path = "";
+      segment->path = svn_uri_skip_ancestor(actual_loc->repos_root_url,
+                                            actual_loc->url, pool);
       APR_ARRAY_PUSH(log_segments, svn_location_segment_t *) = segment;
     }
   else
@@ -928,6 +929,7 @@ svn_client_log6(const apr_array_header_t
                                                   ctx, pool));
     }
 
+
   SVN_ERR(run_ra_get_log(revision_ranges, relative_targets, log_segments,
                          actual_loc, ra_session, targets, limit,
                          discover_changed_paths, strict_node_history,