protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException { if (element == FILE_REVISION) { myPath = attrs.getValue("path"); myRevision = Long.parseLong(attrs.getValue("rev")); } else if (element == REVISION_PROPERTY || element == SET_PROPERTY || element == DELETE_PROPERTY) { myPropertyName = attrs.getValue("name"); myPropertyEncoding = attrs.getValue("encoding"); } if (element == TX_DELTA) { // handle file revision with props. if (myPath != null && myFileRevisionsHandler != null) { if (myProperties == null) { myProperties = Collections.EMPTY_MAP; } if (myPropertiesDelta == null) { myPropertiesDelta = Collections.EMPTY_MAP; } SVNFileRevision revision = new SVNFileRevision(myPath, myRevision, myProperties, myPropertiesDelta); myFileRevisionsHandler.openRevision(revision); myProperties = null; myPropertiesDelta = null; myPath = null; myFileRevisionsHandler.applyTextDelta(myPath, null); } setDeltaProcessing(true); } }
myFileRevisionsHandler.openRevision(revision); myFileRevisionsHandler.closeRevision(myPath);
handler.openRevision(fileRevision); handler.closeRevision(name == null ? path : name); handler.applyTextDelta(name == null ? path : name, null); windowRead = true; handler.textDeltaEnd(name == null ? path : name); handler.closeRevision(name == null ? path : name);
handler.openRevision(new SVNFileRevision(revPath, rev, revProps, propDiffs)); if (contentsChanged) { SVNDeltaCombiner sourceCombiner = new SVNDeltaCombiner(); SVNDeltaCombiner targetCombiner = new SVNDeltaCombiner(); handler.applyTextDelta(path, null); InputStream sourceStream = null; InputStream targetStream = null; SVNFileUtil.closeFile(targetStream); handler.closeRevision(path); } else { handler.closeRevision(path);
handler.openRevision(fileRevision); handler.applyTextDelta(name == null ? path : name, null); handler.textDeltaEnd(name == null ? path : name); handler.closeRevision(name == null ? path : name); count++;
handler.openRevision(new SVNFileRevision(pathRevision.getPath(), pathRevision.getRevision(), revProps, propDiffs, pathRevision.isResultOfMerge())); if (contentsChanged) { SVNDeltaCombiner sourceCombiner = new SVNDeltaCombiner(); SVNDeltaCombiner targetCombiner = new SVNDeltaCombiner(); handler.applyTextDelta(pathRevision.getPath(), null); InputStream sourceStream = null; InputStream targetStream = null; SVNFileUtil.closeFile(targetStream); handler.closeRevision(pathRevision.getPath()); } else { handler.closeRevision(pathRevision.getPath());
handler.openRevision(fileRevision); handler.applyTextDelta(name == null ? path : name, null); handler.textDeltaEnd(name == null ? path : name); handler.closeRevision(name == null ? path : name); count++;
handler.openRevision(new SVNFileRevision(pathRevision.getPath(), pathRevision.getRevision(), revProps, propDiffs, pathRevision.isResultOfMerge())); if (contentsChanged) { SVNDeltaCombiner sourceCombiner = new SVNDeltaCombiner(); SVNDeltaCombiner targetCombiner = new SVNDeltaCombiner(); handler.applyTextDelta(pathRevision.getPath(), null); InputStream sourceStream = null; InputStream targetStream = null; SVNFileUtil.closeFile(targetStream); handler.closeRevision(pathRevision.getPath()); } else { handler.closeRevision(pathRevision.getPath());
myProperties, myPropertiesDelta); myFileRevisionsHandler.openRevision(revision); myFileRevisionsHandler.closeRevision(myPath);
myPropertiesDelta, myIsMergedRevision); myFileRevisionsHandler.openRevision(revision); myProperties = null; myPropertiesDelta = null; myPath = null; myFileRevisionsHandler.applyTextDelta(myPath, null);
handler.openRevision(fileRevision); handler.applyTextDelta(name == null ? path : name, null); handler.textDeltaEnd(name == null ? path : name); handler.closeRevision(name == null ? path : name); count++;
handler.openRevision(new SVNFileRevision(pathRevision.getPath(), pathRevision.getRevision(), revProps, propDiffs, pathRevision.isResultOfMerge())); if (contentsChanged) { SVNDeltaCombiner sourceCombiner = new SVNDeltaCombiner(); SVNDeltaCombiner targetCombiner = new SVNDeltaCombiner(); handler.applyTextDelta(pathRevision.getPath(), null); InputStream sourceStream = null; InputStream targetStream = null; SVNFileUtil.closeFile(targetStream); handler.closeRevision(pathRevision.getPath()); } else { handler.closeRevision(pathRevision.getPath());
myProperties, myPropertiesDelta); myFileRevisionsHandler.openRevision(revision); myFileRevisionsHandler.closeRevision(myPath);
myPropertiesDelta, myIsMergedRevision); myFileRevisionsHandler.openRevision(revision); myProperties = null; myPropertiesDelta = null; myPath = null; myFileRevisionsHandler.applyTextDelta(myPath, null);
myProperties, myPropertiesDelta); myFileRevisionsHandler.openRevision(revision); myFileRevisionsHandler.closeRevision(myPath);
myPropertiesDelta, myIsMergedRevision); myFileRevisionsHandler.openRevision(revision); myProperties = null; myPropertiesDelta = null; myPath = null; myFileRevisionsHandler.applyTextDelta(myPath, null);
SVNFileRevision fileRevision = new SVNFileRevision(rev.myPath, rev.myRevision, rev.myProperties, propDiff, false); handler.openRevision(fileRevision); handler.closeRevision(rev.myPath); if (lastFile != null) { SVNFileUtil.deleteFile(lastFile);
SVNFileRevision fileRevision = new SVNFileRevision(rev.myPath, rev.myRevision, rev.myProperties, propDiff, false); handler.openRevision(fileRevision); handler.closeRevision(rev.myPath); if (lastFile != null) { SVNFileUtil.deleteFile(lastFile);
SVNFileRevision fileRevision = new SVNFileRevision(rev.myPath, rev.myRevision, rev.myProperties, propDiff, false); handler.openRevision(fileRevision); handler.closeRevision(rev.myPath); if (lastFile != null) { SVNFileUtil.deleteFile(lastFile);