public void handleLogEntry(SVNLogEntry logEntry) throws SVNException { Revision rev = new Revision(); rev.myPath = myPath; rev.myRevision = logEntry.getRevision(); rev.myProperties = logEntry.getRevisionProperties(); myRevisions.addFirst(rev); myPath = getPreviousLogPath(null, null, logEntry.getChangedPaths(), myPath, SVNNodeKind.FILE, logEntry.getRevision()); }
public void handleLogEntry(SVNLogEntry logEntry) throws SVNException { Revision rev = new Revision(); rev.myPath = myPath; rev.myRevision = logEntry.getRevision(); rev.myProperties = logEntry.getRevisionProperties(); myRevisions.addFirst(rev); myPath = getPreviousLogPath(null, null, logEntry.getChangedPaths(), myPath, SVNNodeKind.FILE, logEntry.getRevision()); }
public void handleLogEntry(SVNLogEntry logEntry) throws SVNException { Revision rev = new Revision(); rev.myPath = myPath; rev.myRevision = logEntry.getRevision(); rev.myProperties = logEntry.getRevisionProperties(); myRevisions.addFirst(rev); myPath = getPreviousLogPath(null, null, logEntry.getChangedPaths(), myPath, SVNNodeKind.FILE, logEntry.getRevision()); }
public static void handleLogMessage(SVNLogEntry logEntry, LogMessageCallback handler) { if(logEntry == null || handler == null) { return; } Map cpaths = logEntry.getChangedPaths(); ChangePath[] cp = null; if (cpaths == null) { cp = new ChangePath[]{}; } else { Collection clientChangePaths = new ArrayList(); for (Iterator iter = cpaths.keySet().iterator(); iter.hasNext();) { String path = (String) iter.next(); SVNLogEntryPath entryPath = (SVNLogEntryPath)cpaths.get(path); if(entryPath != null){ clientChangePaths.add(new ChangePath(path, entryPath.getCopyRevision(), entryPath.getCopyPath(), entryPath.getType(), getNodeKind(entryPath.getKind()))); } } cp = (ChangePath[]) clientChangePaths.toArray(new ChangePath[clientChangePaths.size()]); } SVNProperties revisionProperties = logEntry.getRevisionProperties(); Map revisionPropertiesMap = new HashMap(); for(Iterator names = revisionProperties.nameSet().iterator(); names.hasNext();) { String name = (String) names.next(); revisionPropertiesMap.put(name, revisionProperties.getStringValue(name)); } handler.singleMessage(cp, logEntry.getRevision(), revisionPropertiesMap, logEntry.hasChildren()); }
public static void handleLogMessage(SVNLogEntry logEntry, LogMessageCallback handler) { if(logEntry == null || handler == null) { return; } Map cpaths = logEntry.getChangedPaths(); ChangePath[] cp = null; if (cpaths == null) { cp = new ChangePath[]{}; } else { Collection clientChangePaths = new ArrayList(); for (Iterator iter = cpaths.keySet().iterator(); iter.hasNext();) { String path = (String) iter.next(); SVNLogEntryPath entryPath = (SVNLogEntryPath)cpaths.get(path); if(entryPath != null){ clientChangePaths.add(new ChangePath(path, entryPath.getCopyRevision(), entryPath.getCopyPath(), entryPath.getType(), getNodeKind(entryPath.getKind()))); } } cp = (ChangePath[]) clientChangePaths.toArray(new ChangePath[clientChangePaths.size()]); } SVNProperties revisionProperties = logEntry.getRevisionProperties(); Map revisionPropertiesMap = new HashMap(); for(Iterator names = revisionProperties.nameSet().iterator(); names.hasNext();) { String name = (String) names.next(); revisionPropertiesMap.put(name, revisionProperties.getStringValue(name)); } handler.singleMessage(cp, logEntry.getRevision(), revisionPropertiesMap, logEntry.hasChildren()); }
public static void handleLogMessage(SVNLogEntry logEntry, LogMessageCallback handler) { if(logEntry == null || handler == null) { return; } Map cpaths = logEntry.getChangedPaths(); ChangePath[] cp = null; if (cpaths == null) { cp = new ChangePath[]{}; } else { Collection clientChangePaths = new ArrayList(); for (Iterator iter = cpaths.keySet().iterator(); iter.hasNext();) { String path = (String) iter.next(); SVNLogEntryPath entryPath = (SVNLogEntryPath)cpaths.get(path); if(entryPath != null){ clientChangePaths.add(new ChangePath(path, entryPath.getCopyRevision(), entryPath.getCopyPath(), entryPath.getType(), getNodeKind(entryPath.getKind()))); } } cp = (ChangePath[]) clientChangePaths.toArray(new ChangePath[clientChangePaths.size()]); } SVNProperties revisionProperties = logEntry.getRevisionProperties(); Map revisionPropertiesMap = new HashMap(); for(Iterator names = revisionProperties.nameSet().iterator(); names.hasNext();) { String name = (String) names.next(); revisionPropertiesMap.put(name, revisionProperties.getStringValue(name)); } handler.singleMessage(cp, logEntry.getRevision(), revisionPropertiesMap, logEntry.hasChildren()); }
public static void handleLogMessage(SVNLogEntry logEntry, LogMessageCallback handler) { if(logEntry == null || handler == null) { return; } Map cpaths = logEntry.getChangedPaths(); ChangePath[] cp = null; if (cpaths == null) { cp = new ChangePath[]{}; } else { Collection clientChangePaths = new ArrayList(); for (Iterator iter = cpaths.keySet().iterator(); iter.hasNext();) { String path = (String) iter.next(); SVNLogEntryPath entryPath = (SVNLogEntryPath)cpaths.get(path); if(entryPath != null){ clientChangePaths.add(new ChangePath(path, entryPath.getCopyRevision(), entryPath.getCopyPath(), entryPath.getType(), getNodeKind(entryPath.getKind()))); } } cp = (ChangePath[]) clientChangePaths.toArray(new ChangePath[clientChangePaths.size()]); } SVNProperties revisionProperties = logEntry.getRevisionProperties(); Map revisionPropertiesMap = new HashMap(); for(Iterator names = revisionProperties.nameSet().iterator(); names.hasNext();) { String name = (String) names.next(); revisionPropertiesMap.put(name, revisionProperties.getStringValue(name)); } handler.singleMessage(cp, logEntry.getRevision(), revisionPropertiesMap, logEntry.hasChildren()); }
if (excludedRevprop != null) { SVNProperties revprops = logEntry.getRevisionProperties(); if (revprops != null && revprops.containsName(excludedRevprop)) { listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(
public void handleLogEntry(SVNLogEntry logEntry) throws SVNException { callback.singleMessage(getChangePaths(logEntry.getChangedPaths()), logEntry.getRevision(), getProperties(logEntry.getRevisionProperties()), logEntry.hasChildren()); } };
if (excludedRevprop != null) { SVNProperties revprops = logEntry.getRevisionProperties(); if (revprops != null && revprops.containsName(excludedRevprop)) { listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(
public void receive(SvnTarget target, SVNLogEntry svnLogEntry) throws SVNException { callback.singleMessage(getChangePaths(svnLogEntry.getChangedPaths()), svnLogEntry.getRevision(), getProperties(svnLogEntry.getRevisionProperties()), svnLogEntry.hasChildren()); } };
public boolean isIncluded(SVNLogEntry logEntry) { if (excludedRevprop != null) { SVNProperties revprops = logEntry.getRevisionProperties(); if (revprops != null && revprops.containsName(excludedRevprop)) { if (getLog() != null) {
SVNProperties revProps = logEntry.getRevisionProperties(); for (Iterator iterator = revProps.nameSet().iterator(); iterator.hasNext();) { String propName = (String) iterator.next();
SVNProperties revisionProperties = logEntry.getRevisionProperties(); String author = revisionProperties.getStringValue(SVNRevisionProperty.AUTHOR); String message = revisionProperties.getStringValue(SVNRevisionProperty.LOG);
SVNProperties revisionProperties = logEntry.getRevisionProperties(); String author = revisionProperties.getStringValue(SVNRevisionProperty.AUTHOR); String message = revisionProperties.getStringValue(SVNRevisionProperty.LOG);
SVNProperties revProps = logEntry.getRevisionProperties(); String author = revProps.getStringValue(SVNRevisionProperty.AUTHOR); String message = revProps.getStringValue(SVNRevisionProperty.LOG);
SVNProperties revProps = logEntry.getRevisionProperties(); String author = revProps.getStringValue(SVNRevisionProperty.AUTHOR); String message = revProps.getStringValue(SVNRevisionProperty.LOG);