Author: hwright
Date: Mon Jun 11 21:17:10 2012
New Revision: 1349017

URL: http://svn.apache.org/viewvc?rev=1349017&view=rev
Log:
Fix bug introduced in r1349002.

* subversion/libsvn_repos/replay.c
  (svn_repos_replay2): Re-add an else clause which wasn't superfluous in
    r1349002.

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

Modified: subversion/trunk/subversion/libsvn_repos/replay.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/replay.c?rev=1349017&r1=1349016&r2=1349017&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/replay.c (original)
+++ subversion/trunk/subversion/libsvn_repos/replay.c Mon Jun 11 21:17:10 2012
@@ -850,6 +850,13 @@ svn_repos_replay2(svn_fs_root_t *root,
               APR_ARRAY_PUSH(paths, const char *) = path;
               apr_hash_set(changed_paths, path, keylen, change);
             }
+          /* ...unless this was a change to one of the parent directories of
+             base_path. */
+          else if (svn_relpath_skip_ancestor(path, base_path) != NULL)
+            {
+              APR_ARRAY_PUSH(paths, const char *) = path;
+              apr_hash_set(changed_paths, path, keylen, change);
+            }
         }
     }
 


Reply via email to