Refine search
public FSCommitEditor(String path, String logMessage, String userName, Map lockTokens, boolean keepLocks, FSTransactionInfo txn, FSFS owner, FSRepository repository) { this(path, lockTokens, keepLocks, txn, owner, repository, null); myRevProps = new SVNProperties(); if (userName != null) { myAuthor = userName; myRevProps.put(SVNRevisionProperty.AUTHOR, userName); } if (logMessage != null) { myRevProps.put(SVNRevisionProperty.LOG, logMessage); } }
public void changeFileProperty(String path,String name, SVNPropertyValue value) throws SVNException { if (myCurrentFile.myPropertyDiff == null) { myCurrentFile.myPropertyDiff = new SVNProperties(); } myCurrentFile.myPropertyDiff.put(name, value); }
public void putProperty(String name, SVNPropertyValue value) { if (myProperties == null) { myProperties = new SVNProperties(); } myProperties.put(name, value); }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (myCurrentDirectory.myPropertyDiff == null) { myCurrentDirectory.myPropertyDiff = new SVNProperties(); } myCurrentDirectory.myPropertyDiff.put(name, value); }
public void putProperty(String name, SVNPropertyValue value) { if (myProperties == null) { myProperties = new SVNProperties(); } myProperties.put(name, value); }
public void changeFileProperty(String path,String name, SVNPropertyValue value) throws SVNException { if (myCurrentFile.myPropertyDiff == null) { myCurrentFile.myPropertyDiff = new SVNProperties(); } myCurrentFile.myPropertyDiff.put(name, value); }
public DAVCommitEditor(DAVRepository repository, DAVConnection connection, String message, ISVNWorkspaceMediator mediator, Runnable closeCallback) { this(repository, connection, (SVNProperties) null, mediator, closeCallback); myRevProps = new SVNProperties(); if (message != null) { myRevProps.put(SVNRevisionProperty.LOG, message); } }
public void putProperty(String name, String value) { if (myProperties == null) { myProperties = new SVNProperties(); } myProperties.put(name, value); }
public void putProperty(String name, SVNPropertyValue value) { if (myProperties == null) { myProperties = new SVNProperties(); } myProperties.put(name, value); }
public void putProperty(String name, String value) { if (myProperties == null) { myProperties = new SVNProperties(); } myProperties.put(name, value); }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (currentDirectory.propertyDiff == null) { currentDirectory.propertyDiff = new SVNProperties(); } currentDirectory.propertyDiff.put(name, value); }
public FSCommitEditor(String path, String logMessage, String userName, Map<String, String> lockTokens, boolean keepLocks, FSTransactionInfo txn, FSFS owner, FSRepository repository) { this(path, lockTokens, keepLocks, txn, owner, repository, null); myRevProps = new SVNProperties(); if (userName != null) { myAuthor = userName; myRevProps.put(SVNRevisionProperty.AUTHOR, userName); } if (logMessage != null) { myRevProps.put(SVNRevisionProperty.LOG, logMessage); } myRevProps.put(SVNRevisionProperty.SVN_TXN_CLIENT_COMPAT_VERSION, Version.getSVNVersion()); }
public DAVCommitEditor(DAVRepository repository, DAVConnection connection, String message, ISVNWorkspaceMediator mediator, Runnable closeCallback) { this(repository, connection, (SVNProperties) null, mediator, closeCallback); myRevProps = new SVNProperties(); if (message != null) { myRevProps.put(SVNRevisionProperty.LOG, message); } myDeletedPaths = new HashSet<String>(); }
protected static SVNProperties getProperties(Map<String, byte[]> svnProperties) { if (svnProperties == null) { return null; } final SVNProperties properties = new SVNProperties(); for (Map.Entry<String, byte[]> entry : svnProperties.entrySet()) { final String propertyName = entry.getKey(); final byte[] propertyValue = entry.getValue(); properties.put(propertyName, propertyValue); } return properties; }
public void setWorkspaceProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (name == null) { return; } SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (!myWCPropsMap.containsKey(item)) { myWCPropsMap.put(item, new SVNProperties()); } ((SVNProperties) myWCPropsMap.get(item)).put(name, value); } }
public void setWorkspaceProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (name == null) { return; } SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (!myWCPropsMap.containsKey(item)) { myWCPropsMap.put(item, new SVNProperties()); } ((SVNProperties) myWCPropsMap.get(item)).put(name, value); } }
public void setWorkspaceProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (name == null) { return; } SVNCommitItem item = (SVNCommitItem) myCommitItems.get(path); if (!myWCPropsMap.containsKey(item)) { myWCPropsMap.put(item, new SVNProperties()); } ((SVNProperties) myWCPropsMap.get(item)).put(name, value); } }
public static StringBuffer generatePropertyRequest(StringBuffer buffer, String name, SVNPropertyValue value) { SVNProperties props = new SVNProperties(); props.put(name, value); return generatePropertyRequest(buffer, props); }
public void addCommand(String name, SVNProperties attributes, boolean save) throws SVNException { if (myCache == null) { myCache = new ArrayList(); } attributes = new SVNProperties(attributes); attributes.put("", name); myCache.add(attributes); if (save) { save(); } }
public static StringBuffer generatePropertyRequest(StringBuffer buffer, String name, SVNPropertyValue value) { SVNProperties props = new SVNProperties(); props.put(name, value); return generatePropertyRequest(buffer, props); }