public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { myCurrentFileSummarize.myPropChanged = true; } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { myCurrentFileSummarize.myPropChanged = true; } }
public void changeDirProperty(String name, String value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { myCurrentDirSummarize.myPropChanged = true; } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (myCurrentDirSummarize.myType != SVNStatusType.STATUS_ADDED) { myCurrentDirSummarize.myPropChanged = true; } } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (myCurrentFileSummarize.myType != SVNStatusType.STATUS_ADDED) { myCurrentFileSummarize.myPropChanged = true; } } }
public void changeFileProperty(String path, String name, String value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { myCurrentFileSummarize.myPropChanged = true; } }
public void changeFileProperty(String path, String propertyName, SVNPropertyValue propertyValue) throws SVNException { if (!SVNProperty.isRegularProperty(propertyName) && SVNProperty.MERGE_INFO.equals(propertyName)) { return; } if (currentFile.properties == null) { currentFile.properties = new SVNProperties(); } if (propertyValue != null) { currentFile.properties.put(propertyName, propertyValue); } }
private boolean arePropertiesSame(SVNProperties originalProps, SVNProperties workingProps) { SVNProperties propDiff = originalProps == null ? workingProps : originalProps.compareTo(workingProps); Set<String> propNames = propDiff.nameSet(); for (String propName : propNames) { if (SVNProperty.isRegularProperty(propName) && !SVNProperty.MERGE_INFO.equals(propName)) { return false; } } return true; }
private boolean compareProps(SVNProperties p1, SVNProperties p2) throws SVNException { if (p1 == null || p2 == null) { return p1 == p2; } SVNProperties diff = p1.compareTo(p2); for (String propName : diff.nameSet()) { if (SVNProperty.isRegularProperty(propName) && !SVNProperty.MERGE_INFO.equals(propName)) { return false; } } return true; }
public void changeFileProperty(String path, String propertyName, SVNPropertyValue propertyValue) throws SVNException { FileBaton fb = fileBaton; if (fb.skip) { return; } if (SVNProperty.isWorkingCopyProperty(propertyName)) { return; } else if (SVNProperty.isRegularProperty(propertyName)) { fb.hasPropChanges = true; } fb.propChanges.put(propertyName, propertyValue); }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (dirBaton.skip) { return; } if (SVNProperty.isWorkingCopyProperty(name)) { return; } else if (SVNProperty.isRegularProperty(name)) { dirBaton.hasPropChange = true; } dirBaton.propChanges.put(name, value); }
public void changeFileProperty(String path, String name, String value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { getWrappedEditor().changeFileProperty(path, name, value); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isWorkingCopyProperty(name)) { return; } else if (SVNProperty.isRegularProperty(name)) { currentEntry.hasPropChange = true; if (currentEntry.propChanges == null) { currentEntry.propChanges = new SVNProperties(); } currentEntry.propChanges.put(name, value); } currentEntry.changePropertyCalled = true; }
public void changeFileProperty(String path, String propertyName, SVNPropertyValue propertyValue) throws SVNException { if (SVNProperty.isWorkingCopyProperty(propertyName)) { return; } else if (SVNProperty.isRegularProperty(propertyName)) { currentEntry.hasPropChange = true; if (currentEntry.propChanges == null) { currentEntry.propChanges = new SVNProperties(); } currentEntry.propChanges.put(propertyName, propertyValue); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedValue = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { value = SVNPropertyValue.create(normalizedValue); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeDirProperty(name, value); } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedValue = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { value = SVNPropertyValue.create(normalizedValue); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeDirProperty(name, value); } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
public static void categorizeProperties(SVNProperties props, SVNProperties regular, SVNProperties entry, SVNProperties working) { for (String name : props.nameSet()) { SVNPropertyValue pv = props.getSVNPropertyValue(name); if (SVNProperty.isEntryProperty(name) && entry != null) { entry.put(name, pv); } else if (SVNProperty.isRegularProperty(name) && regular != null) { regular.put(name, pv); } else if (SVNProperty.isWorkingCopyProperty(name) && working != null) { working.put(name, pv); } } }