private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { boolean isIgnored = isIgnored(ignorePatterns, name); String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null) { handler.handleStatus(status); } } }
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { boolean isIgnored = isIgnored(ignorePatterns, name); String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }
status.getRemoteLock() != null) { xmlMap.put("props", status.getRemotePropertiesStatus().toString()); xmlMap.put("item", status.getCombinedRemoteNodeAndContentsStatus().toString()); xmlBuffer = openXMLTag("repos-status", SVNXMLUtil.XML_STYLE_NORMAL, xmlMap, xmlBuffer); if (status.getRemoteLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getRemoteLock().getID(), xmlBuffer); xmlBuffer = openCDataTag("owner", status.getRemoteLock().getOwner(), xmlBuffer); xmlBuffer = openCDataTag("comment", status.getRemoteLock().getComment(), xmlBuffer); xmlBuffer = openCDataTag("created", SVNDate.formatDate(status.getRemoteLock().getCreationDate()), xmlBuffer); if (status.getRemoteLock().getExpirationDate() != null) { xmlBuffer = openCDataTag("expires", SVNDate.formatDate(status.getRemoteLock().getExpirationDate()), xmlBuffer);
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isIgnored = isIgnored(ignorePatterns, file, getWCRootRelativePath(ignorePatterns, file)); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }
status.getRemoteLock() != null) { xmlMap.put("props", status.getRemotePropertiesStatus().toString()); xmlMap.put("item", status.getCombinedRemoteNodeAndContentsStatus().toString()); xmlBuffer = openXMLTag("repos-status", SVNXMLUtil.XML_STYLE_NORMAL, xmlMap, xmlBuffer); if (status.getRemoteLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getRemoteLock().getID(), xmlBuffer); xmlBuffer = openCDataTag("owner", status.getRemoteLock().getOwner(), xmlBuffer); xmlBuffer = openCDataTag("comment", status.getRemoteLock().getComment(), xmlBuffer); xmlBuffer = openCDataTag("created", SVNDate.formatDate(status.getRemoteLock().getCreationDate()), xmlBuffer); if (status.getRemoteLock().getExpirationDate() != null) { xmlBuffer = openCDataTag("expires", SVNDate.formatDate(status.getRemoteLock().getExpirationDate()), xmlBuffer);
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isIgnored = isIgnored(ignorePatterns, file, getWCRootRelativePath(ignorePatterns, file)); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }
status.getRemoteLock() != null) { addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner()); addTag(COMMENT_TAG, status.getRemoteLock().getComment()); addTag(CREATED_TAG, SVNTimeUtil.formatDate(status.getRemoteLock().getCreationDate())); if (status.getRemoteLock().getExpirationDate() != null) { addTag(EXPIRES_TAG, SVNTimeUtil.formatDate(status.getRemoteLock().getExpirationDate()));
status.getRemoteLock() != null) { addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner()); addTag(COMMENT_TAG, status.getRemoteLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getRemoteLock().getCreationDate())); if (status.getRemoteLock().getExpirationDate() != null) { addTag(EXPIRES_TAG, SVNDate.formatDate(status.getRemoteLock().getExpirationDate()));
status.getRemoteLock() != null) { addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner()); addTag(COMMENT_TAG, status.getRemoteLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getRemoteLock().getCreationDate())); if (status.getRemoteLock().getExpirationDate() != null) { addTag(EXPIRES_TAG, SVNDate.formatDate(status.getRemoteLock().getExpirationDate()));
status.getRemoteLock() != null) { addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner()); addTag(COMMENT_TAG, status.getRemoteLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getRemoteLock().getCreationDate())); if (status.getRemoteLock().getExpirationDate() != null) { addTag(EXPIRES_TAG, SVNDate.formatDate(status.getRemoteLock().getExpirationDate()));
return true; if (status.getRemoteLock() != null) { return true;
lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000; Lock reposLock = createLock(status.getRemoteLock()); if (path != null) { path = path.replace(File.separatorChar, '/');
return true; if (status.getRemoteLock() != null) { return true;
return true; if (status.getRemoteLock() != null) { return true;
return true; if (status.getRemoteLock() != null) { return true;
lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000; Lock reposLock = createLock(status.getRemoteLock()); if (path != null) { path = path.replace(File.separatorChar, '/');
lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000; Lock reposLock = createLock(status.getRemoteLock()); if (path != null) { path = path.replace(File.separatorChar, '/');
lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000; Lock reposLock = createLock(status.getRemoteLock()); if (path != null) { path = path.replace(File.separatorChar, '/');
lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000; Lock reposLock = createLock(status.getRemoteLock()); if (path != null) { path = path.replace(File.separatorChar, '/');
result.setRepositoryChangedRevision(revisionNumber(status.getRemoteRevision())); result.setRepositoryKind(status.getRemoteKind()); result.setRepositoryLock(status.getRemoteLock());