subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1188657 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c
Date Tue, 25 Oct 2011 13:45:46 GMT
Author: julianfoad
Date: Tue Oct 25 13:45:45 2011
New Revision: 1188657

URL: http://svn.apache.org/viewvc?rev=1188657&view=rev
Log:
* subversion/libsvn_fs_fs/tree.c
  (history_prev): Fix a bug in which a 'relpath' function was being used on
    fspaths. My recent change r1188639 exposed the bug because then it
    calls _skip_ancestor which has assertions enabled whereas the previously
    called _is_child had its assertions commented out.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/tree.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/tree.c?rev=1188657&r1=1188656&r2=1188657&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Tue Oct 25 13:45:45 2011
@@ -3201,7 +3201,7 @@ history_prev(void *baton, apr_pool_t *po
          the copy source.  Finally, if our current path doesn't meet
          one of these other criteria ... ### for now just fallback to
          the old copy hunt algorithm. */
-      remainder_path = svn_relpath_skip_ancestor(copy_dst, path);
+      remainder_path = svn_fspath__skip_ancestor(copy_dst, path);
 
       if (remainder_path)
         {



Mime
View raw message