protected void put(SVNProperties props) throws SVNException { SVNProperties thisProps = loadProperties(); thisProps.clear(); thisProps.putAll(props); myIsModified = true; }
public void removeAll() throws SVNException { SVNProperties props = loadProperties(); if (!isEmpty()) { props.clear(); myIsModified = true; } }
private void flushPendingProperties() throws SVNException { if (myCurrentFilePath != null) { SVNProperties props = getFilePropertiesStorage(); changeNodeProperties(myCurrentFilePath, props); props.clear(); myCurrentFilePath = null; } }
public void removeAll() throws SVNException { SVNProperties props = loadProperties(); if (!isEmpty()) { props.clear(); myIsModified = true; } }
protected void put(SVNProperties props) throws SVNException { SVNProperties thisProps = loadProperties(); thisProps.clear(); thisProps.putAll(props); myIsModified = true; }
protected void put(SVNProperties props) throws SVNException { SVNProperties thisProps = loadProperties(); thisProps.clear(); thisProps.putAll(props); myIsModified = true; }
public void removeAll() throws SVNException { SVNProperties props = loadProperties(); if (!isEmpty()) { props.clear(); myIsModified = true; } }
private void flushPendingProperties() throws SVNException { if (myCurrentFilePath != null) { SVNProperties props = getFilePropertiesStorage(); changeNodeProperties(myCurrentFilePath, props); props.clear(); myCurrentFilePath = null; } }
private void flushPendingProperties() throws SVNException { if (myCurrentFilePath != null) { SVNProperties props = getFilePropertiesStorage(); changeNodeProperties(myCurrentFilePath, props); props.clear(); myCurrentFilePath = null; } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { String fullPath = SVNPathUtil.getAbsolutePath(SVNPathUtil.append(myBasePath, path)); SVNProperties props = getFilePropertiesStorage(); if (!fullPath.equals(myCurrentFilePath)) { if (myCurrentFilePath != null) { changeNodeProperties(myCurrentFilePath, props); props.clear(); } myCurrentFilePath = fullPath; } props.put(name, value); }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { String fullPath = SVNPathUtil.getAbsolutePath(SVNPathUtil.append(myBasePath, path)); SVNProperties props = getFilePropertiesStorage(); if (!fullPath.equals(myCurrentFilePath)) { if (myCurrentFilePath != null) { changeNodeProperties(myCurrentFilePath, props); props.clear(); } myCurrentFilePath = fullPath; } props.put(name, value); }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { String fullPath = SVNPathUtil.getAbsolutePath(SVNPathUtil.append(myBasePath, path)); SVNProperties props = getFilePropertiesStorage(); if (!fullPath.equals(myCurrentFilePath)) { if (myCurrentFilePath != null) { changeNodeProperties(myCurrentFilePath, props); props.clear(); } myCurrentFilePath = fullPath; } props.put(name, value); }
protected SVNMergeResult handleChooseBase(SVNMergeFileSet files) throws SVNException { SVNLog log = files.getLog(); if (log != null) { SVNProperties command = new SVNProperties(); command.put(SVNLog.NAME_ATTR, files.getBasePath()); command.put(SVNLog.DEST_ATTR, files.getWCPath()); log.addCommand(SVNLog.COPY_AND_TRANSLATE, command, false); command.clear(); } return SVNMergeResult.createMergeResult(SVNStatusType.MERGED, null); }
protected SVNMergeResult handleChooseBase(SVNMergeFileSet files) throws SVNException { SVNProperties command = new SVNProperties(); SVNLog log = files.getLog(); command.put(SVNLog.NAME_ATTR, files.getBasePath()); command.put(SVNLog.DEST_ATTR, files.getWCPath()); log.addCommand(SVNLog.COPY_AND_TRANSLATE, command, false); command.clear(); return SVNMergeResult.createMergeResult(SVNStatusType.MERGED, null); }
protected void makeTextConflictEntry(SVNMergeFileSet files, String mineFilePath, String newFilePath, String oldFilePath) throws SVNException { SVNLog log = files.getLog(); if (log != null) { SVNProperties command = new SVNProperties(); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_WRK), mineFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); } }
protected void makeBinaryConflictEntry(SVNMergeFileSet files, String newFilePath, String oldFilePath) throws SVNException { SVNProperties command = new SVNProperties(); SVNLog log = files.getLog(); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); files.getAdminArea().saveEntries(false); }
protected void makeBinaryConflictEntry(SVNMergeFileSet files, String newFilePath, String oldFilePath) throws SVNException { SVNProperties command = new SVNProperties(); SVNLog log = files.getLog(); if (log != null) { command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); } files.getAdminArea().saveEntries(false); }
protected void makeTextConflictEntry(SVNMergeFileSet files, String mineFilePath, String newFilePath, String oldFilePath) throws SVNException { SVNLog log = files.getLog(); if (log != null) { SVNProperties command = new SVNProperties(); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_WRK), mineFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); } }
protected void makeTextConflictEntry(SVNMergeFileSet files, String mineFilePath, String newFilePath, String oldFilePath) throws SVNException { SVNProperties command = new SVNProperties(); SVNLog log = files.getLog(); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_WRK), mineFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); }
protected void makeBinaryConflictEntry(SVNMergeFileSet files, String newFilePath, String oldFilePath) throws SVNException { SVNProperties command = new SVNProperties(); SVNLog log = files.getLog(); if (log != null) { command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_NEW), newFilePath); command.put(SVNProperty.shortPropertyName(SVNProperty.CONFLICT_OLD), oldFilePath); log.logChangedEntryProperties(files.getWCPath(), command); command.clear(); } files.getAdminArea().saveEntries(false); }