if(pathChange.getType() == SVNLogEntryPath.TYPE_ADDED && pathChange.getCopyPath() != null && pathChange.getCopyRevision() >= 0){
if((pathChange.getType() == SVNLogEntryPath.TYPE_REPLACED || pathChange.getType() == SVNLogEntryPath.TYPE_ADDED) && pathChange.getCopyPath() != null && pathChange.getCopyRevision() >= 0){
    public SVNReplicationEditor(SVNRepository repository, ISVNEditor commitEditor, SVNLogEntry revision) {        myRepos = repository;        myCommitEditor = commitEditor;        myPathsToFileBatons = new HashMap();        myDirsStack = new Stack();        myCopiedPaths = new HashMap();        myChangedPaths = revision.getChangedPaths();        for(Iterator paths = myChangedPaths.keySet().iterator(); paths.hasNext();){            String path = (String)paths.next();            SVNLogEntryPath pathChange = (SVNLogEntryPath)myChangedPaths.get(path);            //make sure it's a copy            if(pathChange.getType() == SVNLogEntryPath.TYPE_ADDED && pathChange.getCopyPath() != null && pathChange.getCopyRevision() >= 0){                myCopiedPaths.put(path, pathChange);            }        }    }