Author: cmpilato
Date: Thu Jul  8 20:36:08 2010
New Revision: 961925

URL: http://svn.apache.org/viewvc?rev=961925&view=rev
Log:
Fix a bug in the ambient-depth update filter editor.

* subversion/libsvn_wc/ambient_depth_filter_editor.c
  (make_dir_baton): Don't query the hiddenness of the node anymore.
    The pre-WC-NG code ignored hiddenness.

* subversion/tests/cmdline/depth_tests.py
  (test_list): Remove XFail() wrapper from
    'update_depth_empty_root_of_infinite_children' test.

Patch by: rhuijben
          (Tweaked by me.)

Modified:
    subversion/trunk/subversion/libsvn_wc/ambient_depth_filter_editor.c
    subversion/trunk/subversion/tests/cmdline/depth_tests.py

Modified: subversion/trunk/subversion/libsvn_wc/ambient_depth_filter_editor.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/ambient_depth_filter_editor.c?rev=961925&r1=961924&r2=961925&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/ambient_depth_filter_editor.c 
(original)
+++ subversion/trunk/subversion/libsvn_wc/ambient_depth_filter_editor.c Thu Jul 
 8 20:36:08 2010
@@ -171,9 +171,6 @@ make_dir_baton(struct dir_baton **d_p,
       else
         SVN_ERR(err);
 
-      if (exists)
-        SVN_ERR(svn_wc__db_node_hidden(&exists, eb->db, abspath, pool));
-
       if (pb->ambient_depth == svn_depth_empty
           || pb->ambient_depth == svn_depth_files)
         {

Modified: subversion/trunk/subversion/tests/cmdline/depth_tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/depth_tests.py?rev=961925&r1=961924&r2=961925&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/depth_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/depth_tests.py Thu Jul  8 
20:36:08 2010
@@ -2752,7 +2752,7 @@ test_list = [ None,
               tree_conflicts_resolved_depth_immediates,
               tree_conflicts_resolved_depth_infinity,
               update_excluded_path_sticky_depths,
-              XFail(update_depth_empty_root_of_infinite_children),
+              update_depth_empty_root_of_infinite_children,
               ]
 
 if __name__ == "__main__":


Reply via email to