SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
private SVNFileInfo openFile(String path, SVNDirectoryInfo parent) throws SVNException { checkIfPathIsUnderRoot(path); SVNFileInfo info = createFileInfo(parent, path, false); SVNAdminArea adminArea = parent.getAdminArea(); SVNEntry entry = adminArea.getEntry(info.Name, true); if (entry == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNVERSIONED_RESOURCE, "File ''{0}'' in directory ''{1}'' is not a versioned resource", new Object[] {info.Name, adminArea.getRoot()}); SVNErrorManager.error(err, SVNLogType.WC); } boolean hasTextConflicts = adminArea.hasTextConflict(info.Name); boolean hasPropConflicts = adminArea.hasPropConflict(info.Name); if (hasTextConflicts || hasPropConflicts) { info.isSkipped = true; Collection skippedPaths = getSkippedPaths(); File file = new File(myAdminInfo.getAnchor().getRoot(), path); skippedPaths.add(file); SVNEvent event = SVNEventFactory.createSVNEvent(adminArea.getFile(info.Name), SVNNodeKind.FILE, null, myTargetRevision, hasTextConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event); } return info; }
private SVNFileInfo openFile(String path, SVNDirectoryInfo parent) throws SVNException { checkIfPathIsUnderRoot(path); SVNFileInfo info = createFileInfo(parent, path, false); SVNAdminArea adminArea = parent.getAdminArea(); SVNEntry entry = adminArea.getEntry(info.Name, true); if (entry == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNVERSIONED_RESOURCE, "File ''{0}'' in directory ''{1}'' is not a versioned resource", new Object[] {info.Name, adminArea.getRoot()}); SVNErrorManager.error(err, SVNLogType.WC); } boolean hasTextConflicts = adminArea.hasTextConflict(info.Name); boolean hasPropConflicts = adminArea.hasPropConflict(info.Name); if (hasTextConflicts || hasPropConflicts) { info.isSkipped = true; Collection skippedPaths = getSkippedPaths(); File file = new File(myAdminInfo.getAnchor().getRoot(), path); skippedPaths.add(file); SVNEvent event = SVNEventFactory.createSVNEvent(adminArea.getFile(info.Name), SVNNodeKind.FILE, null, myTargetRevision, hasTextConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event); } return info; }
private SVNFileInfo openFile(String path, SVNDirectoryInfo parent) throws SVNException { checkIfPathIsUnderRoot(path); SVNFileInfo info = createFileInfo(parent, path, false); SVNAdminArea adminArea = parent.getAdminArea(); SVNEntry entry = adminArea.getEntry(info.Name, true); if (entry == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNVERSIONED_RESOURCE, "File ''{0}'' in directory ''{1}'' is not a versioned resource", new Object[] {info.Name, adminArea.getRoot()}); SVNErrorManager.error(err, SVNLogType.WC); } boolean hasTextConflicts = adminArea.hasTextConflict(info.Name); boolean hasPropConflicts = adminArea.hasPropConflict(info.Name); if (hasTextConflicts || hasPropConflicts) { info.isSkipped = true; Collection skippedPaths = getSkippedPaths(); File file = new File(myAdminInfo.getAnchor().getRoot(), path); skippedPaths.add(file); SVNEvent event = SVNEventFactory.createSVNEvent(adminArea.getFile(info.Name), SVNNodeKind.FILE, null, myTargetRevision, hasTextConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, SVNEventAction.SKIP, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event); } return info; }
SVNStatusType propStatus = hasPropConflicts ? SVNStatusType.CONFLICTED : null; SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.DIR, null, myTargetRevision, null, propStatus, null, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); if (myCurrentDirectory.URL != null) { event.setURL(SVNURL.parseURIEncoded(myCurrentDirectory.URL));
SVNStatusType propStatus = hasPropConflicts ? SVNStatusType.CONFLICTED : null; SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.DIR, null, myTargetRevision, null, propStatus, null, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); if (myCurrentDirectory.URL != null) { event.setURL(SVNURL.parseURIEncoded(myCurrentDirectory.URL));
SVNStatusType propStatus = hasPropConflicts ? SVNStatusType.CONFLICTED : null; SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.DIR, null, myTargetRevision, null, propStatus, null, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); if (myCurrentDirectory.URL != null) { event.setURL(SVNURL.parseURIEncoded(myCurrentDirectory.URL));
event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); event.setURL(myCurrentDirectory.URL != null ? SVNURL.parseURIEncoded(myCurrentDirectory.URL) : null); myWCAccess.handleEvent(event);
event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); event.setURL(myCurrentDirectory.URL != null ? SVNURL.parseURIEncoded(myCurrentDirectory.URL) : null); myWCAccess.handleEvent(event);
event.setPreviousRevision(previousRevision); event.setPreviousURL(url); myWCAccess.handleEvent(event);
event.setPreviousRevision(previousRevision); event.setPreviousURL(url); myWCAccess.handleEvent(event);
event.setPreviousRevision(previousRevision); event.setPreviousURL(url); myWCAccess.handleEvent(event);
event.setPreviousRevision(myCurrentDirectory.myPreviousRevision); event.setURL(myCurrentDirectory.URL != null ? SVNURL.parseURIEncoded(myCurrentDirectory.URL) : null); myWCAccess.handleEvent(event);
SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.FILE, null, myTargetRevision, SVNEventAction.SKIP, SVNEventAction.UPDATE_ADD, null, null); if (entry != null) { event.setPreviousRevision(entry.getRevision()); event.setPreviousURL(entry.getSVNURL()); info.isSkipped = true; SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.FILE, null, myTargetRevision, SVNEventAction.TREE_CONFLICT, SVNEventAction.UPDATE_ADD, null, null); event.setPreviousRevision(entry.getRevision()); event.setPreviousURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
event.setPreviousRevision(oldRevision); eventHandler.handleEvent(event, ISVNEventHandler.UNKNOWN); haveRow = stmt.next();
hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);
SVNEvent event = SVNEventFactory.createSVNEvent(fullPath, SVNNodeKind.FILE, null, myTargetRevision, hasTextConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, hasPropConflicts ? SVNStatusType.CONFLICTED : SVNStatusType.UNKNOWN, SVNStatusType.LOCK_INAPPLICABLE, eventAction, SVNEventAction.UPDATE_UPDATE, null, null); event.setPreviousRevision(entry.getRevision()); event.setURL(entry.getSVNURL()); myWCAccess.handleEvent(event);