public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { DAVResource directory = (DAVResource) myDirsStack.peek(); checkoutResource(directory, true); directory.putProperty(name, value); myPathsMap.put(directory.getURL(), directory.getPath()); }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { DAVResource directory = (DAVResource) myDirsStack.peek(); checkoutResource(directory, true); directory.putProperty(name, value); myPathsMap.put(directory.getURL(), directory.getPath()); }
public void changeDirProperty(String name, String value) throws SVNException { DAVResource directory = (DAVResource) myDirsStack.peek(); checkoutResource(directory, true); directory.putProperty(name, value); myPathsMap.put(directory.getURL(), directory.getPath()); }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { DAVResource directory = (DAVResource) myDirsStack.peek(); if (!myConnection.hasHttpV2Support()) { checkoutResource(directory, true); } directory.putProperty(name, value); myPathsMap.put(directory.getURL(), directory.getPath()); }
public void openFile(String path, long revision) throws SVNException { String originalPath = path; path = SVNEncodingUtil.uriEncode(path); DAVResource file = new DAVResource(myCommitMediator, myConnection, path, revision); DAVResource parent = (DAVResource) myDirsStack.peek(); if (parent.isCopy()) { // part of copied structure -> derive wurl file.setWorkingURL(SVNPathUtil.append(parent.getWorkingURL(), SVNPathUtil.tail(path))); } else { file.fetchVersionURL(false); } checkoutResource(file, true); myPathsMap.put(file.getURL(), file.getPath()); myFilesMap.put(originalPath, file); }
public void openFile(String path, long revision) throws SVNException { String originalPath = path; path = SVNEncodingUtil.uriEncode(path); DAVResource file = new DAVResource(myCommitMediator, myConnection, path, revision); DAVResource parent = (DAVResource) myDirsStack.peek(); if (parent.getVersionURL() == null) { // part of copied structure -> derive wurl file.setWorkingURL(SVNPathUtil.append(parent.getWorkingURL(), SVNPathUtil.tail(path))); } else { file.fetchVersionURL(parent, false); } checkoutResource(file, true); myPathsMap.put(file.getURL(), file.getPath()); myFilesMap.put(originalPath, file); }
public void openFile(String path, long revision) throws SVNException { String originalPath = path; path = SVNEncodingUtil.uriEncode(path); DAVResource file = new DAVResource(myCommitMediator, myConnection, path, revision); DAVResource parent = (DAVResource) myDirsStack.peek(); if (parent.getVersionURL() == null) { // part of copied structure -> derive wurl file.setWorkingURL(SVNPathUtil.append(parent.getWorkingURL(), SVNPathUtil.tail(path))); } else { file.fetchVersionURL(parent, false); } checkoutResource(file, true); myPathsMap.put(file.getURL(), file.getPath()); myFilesMap.put(originalPath, file); }
public void openFile(String path, long revision) throws SVNException { String originalPath = path; path = SVNEncodingUtil.uriEncode(path); DAVResource file = new DAVResource(myCommitMediator, myConnection, path, revision); DAVResource parent = (DAVResource) myDirsStack.peek(); if (myConnection.hasHttpV2Support()) { file.setCustomURL(SVNPathUtil.append(myTxnRootUrl, path)); } else { if (parent.getVersionURL() == null) { // part of copied structure -> derive wurl file.setWorkingURL(SVNPathUtil.append(parent.getWorkingURL(), SVNPathUtil.tail(path))); } else { file.fetchVersionURL(parent, false); } checkoutResource(file, true); } myPathsMap.put(file.getURL(), file.getPath()); myFilesMap.put(originalPath, file); }
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); } }
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true);
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true); String wPath = parentResource.getWorkingURL();
checkoutResource(parentResource, true);