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 2012/03/23 16:11:28 UTC

svn commit: r1304407 - /subversion/trunk/subversion/tests/cmdline/copy_tests.py

Author: rhuijben
Date: Fri Mar 23 15:11:27 2012
New Revision: 1304407

URL: http://svn.apache.org/viewvc?rev=1304407&view=rev
Log:
* subversion/tests/cmdline/copy_tests.py
  (copy_to_unversioned_parent): New test.
  (test_list): Add copy_to_unversioned_parent.

Modified:
    subversion/trunk/subversion/tests/cmdline/copy_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/copy_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/copy_tests.py?rev=1304407&r1=1304406&r2=1304407&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/copy_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/copy_tests.py Fri Mar 23 15:11:27 2012
@@ -5675,6 +5675,24 @@ def three_nested_moves(sbox):
                                         expected_status,
                                         None, wc_dir)
 
+@XFail() # Will add fix soon
+def copy_to_unversioned_parent(sbox):
+  "copy to unversioned parent"
+
+  sbox.build()
+
+  # This succeeds
+  #svntest.actions.run_and_verify_svn(None, None, [], 'cp', '--parents',
+  #                                   sbox.ospath('A/B'),
+  #                                   sbox.ospath('New/B2'))
+
+  # And this currently fails with The node '.*Unversioned' was not found,
+  # while it should succeed or returns some error that a GUI client can use.
+  os.mkdir(sbox.ospath('Unversioned'))
+  svntest.actions.run_and_verify_svn(None, None, [], 'cp', '--parents',
+                                     sbox.ospath('A/B'),
+                                     sbox.ospath('Unversioned/B2'))
+
 ########################################################################
 # Run the tests
 
@@ -5789,6 +5807,7 @@ test_list = [ None,
               commit_deleted_half_of_move,
               wc_wc_copy_incomplete,
               three_nested_moves,
+              copy_to_unversioned_parent,
              ]
 
 if __name__ == '__main__':