Index: subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java =================================================================== --- subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java (revision 34563) +++ subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java (working copy) @@ -871,6 +871,20 @@ thisTest.checkStatus(); assertExpectedSuggestion(sources[0].getPath(), "A/B/F/alpha", thisTest); + + // Now test a WC to URL copy + CopySource wcSource[] = new CopySource[1]; + wcSource[0] = new CopySource(new File(thisTest.getWorkingCopy(), + "A/B").getPath(), Revision.WORKING, Revision.WORKING); + client.commitMessageHandler(null); + client.copy(wcSource, + thisTest.getUrl() + "/parent/A/B", + "Create parent", true, true, null); + + // update the WC to get new folder and confirm the copy + assertEquals("wrong revision number from update", + client.update(thisTest.getWCPath(), null, true), + 3); } /**