public void handleStatus(SVNStatus status) throws SVNException { String relativePath = FileUtil.getPathRelativeToBase(status.getFile(), baseDirAbsolutePath); if (status.getContentsStatus().getID() == SVNStatusType.STATUS_NONE.getID() || status.getContentsStatus().getID() == SVNStatusType.STATUS_UNVERSIONED.getID()) { map.put(relativePath, Boolean.FALSE); } else { map.put(relativePath, Boolean.TRUE); } } }
public void handleStatus(SVNStatus status) throws SVNException { String relativePath = FileUtil.getPathRelativeToBase(status.getFile(), baseDirAbsolutePath); if (status.getContentsStatus().getID() == SVNStatusType.STATUS_NONE.getID() || status.getContentsStatus().getID() == SVNStatusType.STATUS_UNVERSIONED.getID()) { map.put(relativePath, Boolean.FALSE); } else { map.put(relativePath, Boolean.TRUE); } } }
public static void updateMoveListAdd(SVNWCDbRoot wcRoot, File localRelPath, SVNEventAction eventAction, SVNNodeKind kind, SVNStatusType contentState, SVNStatusType propState) throws SVNException { SVNSqlJetStatement stmt = wcRoot.getSDb().getTemporaryDb().getStatement(SVNWCDbStatements.INSERT_UPDATE_MOVE_LIST); try { stmt.bindf("siiii", localRelPath, eventAction.getID(), kind.getID(), contentState.getID(), propState.getID()); stmt.done(); } finally { stmt.reset(); } }