You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/06/21 14:31:00 UTC

svn commit: r956544 - /subversion/trunk/subversion/bindings/swig/python/tests/wc.py

Author: rhuijben
Date: Mon Jun 21 12:30:59 2010
New Revision: 956544

URL: http://svn.apache.org/viewvc?rev=956544&view=rev
Log:
Apply a temporary fix to the python swig bindings to remove an assumption
that locked directories are always visible in status. Single db- WC-NG uses
a different locking/workqueue strategy which doesn't map on this old per
directory lock scenario. Even if a directory is not locked it can still
be blocked from operations and potentially it might allow some operations
even though the db is locked.

* subversion/bindings/swig/python/tests/wc.py
  (test_status_editor): Show all nodes to fix test assumption.

Modified:
    subversion/trunk/subversion/bindings/swig/python/tests/wc.py

Modified: subversion/trunk/subversion/bindings/swig/python/tests/wc.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/wc.py?rev=956544&r1=956543&r2=956544&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/wc.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/wc.py Mon Jun 21 12:30:59 2010
@@ -178,7 +178,7 @@ class SubversionWorkingCopyTestCase(unit
                                               target,
                                               None,  # SvnConfig
                                               True,  # recursive
-                                              False, # get_all
+                                              True, # get_all
                                               False, # no_ignore
                                               status_func,
                                               None,  # cancel_func
@@ -439,8 +439,8 @@ class SubversionWorkingCopyTestCase(unit
     self.assertEqual(got_diffs, expected_diffs)
 
   def tearDown(self):
-      wc.adm_close(self.wc)
-      core.svn_io_remove_dir(self.path)
+      #wc.adm_close(self.wc)
+      #core.svn_io_remove_dir(self.path)
       self.fs = None
       self.repos = None