You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2012/08/23 12:46:48 UTC

svn commit: r1376429 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

Author: philip
Date: Thu Aug 23 10:46:47 2012
New Revision: 1376429

URL: http://svn.apache.org/viewvc?rev=1376429&view=rev
Log:
Don't use the svn_dirent_ API to handle FS paths.

* subversion/libsvn_fs_fs/tree.c
  (): Remove include.
  (find_descendents_in_cache): Use svn_fspath__ API.

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=1376429&r1=1376428&r2=1376429&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Thu Aug 23 10:46:47 2012
@@ -44,7 +44,6 @@
 #include "svn_private_config.h"
 #include "svn_pools.h"
 #include "svn_error.h"
-#include "svn_dirent_uri.h"
 #include "svn_path.h"
 #include "svn_mergeinfo.h"
 #include "svn_fs.h"
@@ -229,7 +228,7 @@ find_descendents_in_cache(void *baton,
   struct fdic_baton *b = baton;
   const char *item_path = key;
 
-  if (svn_dirent_is_ancestor(b->path, item_path))
+  if (svn_fspath__skip_ancestor(b->path, item_path))
     APR_ARRAY_PUSH(b->list, const char *) = apr_pstrdup(b->pool, item_path);
 
   return SVN_NO_ERROR;