myConnection.doDelete(myActivity);
myConnection.doDelete(myActivity);
myConnection.doDelete(myActivity);
myConnection.doDelete(myActivity);
deleteTarget = SVNPathUtil.append(myTxnRootUrl, path); HTTPStatus httpStatus = myConnection.doDelete(path, deleteTarget, revision); if (httpStatus.getCode() != 204) { SVNErrorMessage errorMessage = DAVUtil.createUnexpectedStatusErrorMessage(httpStatus, "DELETE", path); myConnection.doDelete(url, wPath, revision); if (myDirsStack.size() == 1) { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), path), path);
public void deleteEntry(String path, long revision) throws SVNException { path = SVNEncodingUtil.uriEncode(path); // get parent's working copy. (checkout? or use checked out?) DAVResource parentResource = (DAVResource) myDirsStack.peek(); checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL(); // get root wURL and delete from it! // append name part of the path to the checked out location // should we append full name here? String url; if (myDirsStack.size() == 1) { wPath = SVNPathUtil.append(parentResource.getWorkingURL(), path); url = SVNPathUtil.append(parentResource.getURL(), path); } else { // we are inside openDir()... wPath = SVNPathUtil.append(wPath, SVNPathUtil.tail(path)); url = SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)); } // call DELETE for the composed path myConnection.doDelete(url, wPath, revision); if (myDirsStack.size() == 1) { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), path), path); } else { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)), path); } }
public void deleteEntry(String path, long revision) throws SVNException { path = SVNEncodingUtil.uriEncode(path); // get parent's working copy. (checkout? or use checked out?) DAVResource parentResource = (DAVResource) myDirsStack.peek(); checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL(); // get root wURL and delete from it! // append name part of the path to the checked out location // should we append full name here? String url; if (myDirsStack.size() == 1) { wPath = SVNPathUtil.append(parentResource.getWorkingURL(), path); url = SVNPathUtil.append(parentResource.getURL(), path); } else { // we are inside openDir()... wPath = SVNPathUtil.append(wPath, SVNPathUtil.tail(path)); url = SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)); } // call DELETE for the composed path myConnection.doDelete(url, wPath, revision); if (myDirsStack.size() == 1) { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), path), path); } else { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)), path); } }
public void deleteEntry(String path, long revision) throws SVNException { path = SVNEncodingUtil.uriEncode(path); // get parent's working copy. (checkout? or use checked out?) DAVResource parentResource = (DAVResource) myDirsStack.peek(); checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL(); // get root wURL and delete from it! // append name part of the path to the checked out location // should we append full name here? String url; if (myDirsStack.size() == 1) { wPath = SVNPathUtil.append(parentResource.getWorkingURL(), path); url = SVNPathUtil.append(parentResource.getURL(), path); } else { // we are inside openDir()... wPath = SVNPathUtil.append(wPath, SVNPathUtil.tail(path)); url = SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)); } // call DELETE for the composed path myConnection.doDelete(url, wPath, revision); if (myDirsStack.size() == 1) { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), path), path); } else { myPathsMap.put(SVNPathUtil.append(parentResource.getURL(), SVNPathUtil.tail(path)), path); } }