final StringBuilder changes = new StringBuilder("Committed " + commit.getCommitItems().length + " changes: "); for (final SVNCommitItem item : commit.getCommitItems()) { changes.append(item.getKind() + " - " + item.getPath() + ", ");
final StringBuilder changes = new StringBuilder("Committed " + commit.getCommitItems().length + " changes: "); for (final SVNCommitItem item : commit.getCommitItems()) { changes.append(item.getKind() + " - " + item.getPath() + ", ");
public String getWorkspaceProperty(String path, String name) throws SVNException { SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (item == null) { return null; } SVNAdminArea dir; String target; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); target = ""; } else { dir = wcAccess.retrieve(item.getFile().getParentFile()); target = SVNPathUtil.tail(item.getPath()); } SVNVersionedProperties wcProps = dir.getWCProperties(target); return wcProps.getPropertyValue(name); }
public SVNPropertyValue getWorkspaceProperty(String path, String name) throws SVNException { SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (item == null) { return null; } SVNAdminArea dir; String target; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); target = ""; } else { dir = wcAccess.retrieve(item.getFile().getParentFile()); target = SVNPathUtil.tail(item.getPath()); } SVNVersionedProperties wcProps = dir.getWCProperties(target); if (wcProps != null) { return wcProps.getPropertyValue(name); } return null; }
String name; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); name = ""; String propName = (String) names.next(); String value = (String) diff.get(propName); if (item.getKind() == SVNNodeKind.FILE) { editor.changeFileProperty(commitPath, propName, value); } else {
public SVNPropertyValue getWorkspaceProperty(String path, String name) throws SVNException { SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (item == null) { return null; } SVNAdminArea dir; String target; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); target = ""; } else { dir = wcAccess.retrieve(item.getFile().getParentFile()); target = SVNPathUtil.tail(item.getPath()); } SVNVersionedProperties wcProps = dir.getWCProperties(target); if (wcProps != null) { return wcProps.getPropertyValue(name); } return null; }
public SVNPropertyValue getWorkspaceProperty(String path, String name) throws SVNException { SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (item == null) { return null; } SVNAdminArea dir; String target; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); target = ""; } else { dir = wcAccess.retrieve(item.getFile().getParentFile()); target = SVNPathUtil.tail(item.getPath()); } SVNVersionedProperties wcProps = dir.getWCProperties(target); if (wcProps != null) { return wcProps.getPropertyValue(name); } return null; }
String name; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); name = ""; String propName = (String) names.next(); SVNPropertyValue value = diff.getSVNPropertyValue(propName); if (item.getKind() == SVNNodeKind.FILE) { editor.changeFileProperty(commitPath, propName, value); } else {
String name; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); name = ""; String propName = (String) names.next(); SVNPropertyValue value = diff.getSVNPropertyValue(propName); if (item.getKind() == SVNNodeKind.FILE) { editor.changeFileProperty(commitPath, propName, value); } else {
String name; SVNWCAccess wcAccess = item.getWCAccess(); if (item.getKind() == SVNNodeKind.DIR) { dir = wcAccess.retrieve(item.getFile()); name = ""; String propName = (String) names.next(); SVNPropertyValue value = diff.getSVNPropertyValue(propName); if (item.getKind() == SVNNodeKind.FILE) { editor.changeFileProperty(commitPath, propName, value); } else {
url = null; int kind = isImport ? NodeKind.none : getNodeKind(sc.getKind()); items[i] = new CommitItem(path, kind, stateFlag, url, sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
url = null; int kind = isImport ? NodeKind.none : getNodeKind(sc.getKind()); items[i] = new CommitItem(path, kind, stateFlag, url, sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
url = null; int kind = isImport ? NodeKind.none : getNodeKind(sc.getKind()); items[i] = new CommitItem(path, kind, stateFlag, url, sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
url = null; int kind = isImport ? NodeKind.none : getNodeKind(sc.getKind()); items[i] = new CommitItem(path, kind, stateFlag, url, sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
stateFlag += CommitItemStateFlags.IsCopy; items[i] = new CommitItem(sc.getPath(), getNodeKind(sc.getKind()), stateFlag, sc.getURL() != null ? sc.getURL().toString() : null, sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
i.setPath(item.getFile()); i.setUrl(item.getURL()); i.setKind(item.getKind()); if (item.getCopyFromRevision() != null) { i.setCopyFromRevision(item.getCopyFromRevision().getNumber());