Author: stefan2
Date: Thu Feb 18 22:07:57 2016
New Revision: 1731159

URL: http://svn.apache.org/viewvc?rev=1731159&view=rev
Log:
Repos-layer APIs never return incomplete log info.

* subversion/libsvn_repos/log.c
  (detect_changed): The copy-from information is always known after
                    we looked it up.

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

Modified: subversion/trunk/subversion/libsvn_repos/log.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/log.c?rev=1731159&r1=1731158&r2=1731159&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/log.c (original)
+++ subversion/trunk/subversion/libsvn_repos/log.c Thu Feb 18 22:07:57 2016
@@ -355,8 +355,11 @@ detect_changed(svn_repos_revision_access
              we will follow the DAG from ROOT to PATH and that requires
              actually reading the directories along the way. */
           if (!change->copyfrom_known)
-            SVN_ERR(svn_fs_copied_from(&copyfrom_rev, &copyfrom_path,
-                                       root, path, iterpool));
+            {
+              SVN_ERR(svn_fs_copied_from(&copyfrom_rev, &copyfrom_path,
+                                        root, path, iterpool));
+              change->copyfrom_known = TRUE;
+            }
 
           if (copyfrom_path && SVN_IS_VALID_REVNUM(copyfrom_rev))
             {


Reply via email to