myConnection.doGet(path, contents);
connection.doGet(path, contents);
connection.doGet(path, contents);
protected void fetchFile(String baseChecksum) throws SVNException { setDeltaProcessing(true); try { myEditor.applyTextDelta(myPath, baseChecksum); } catch (SVNException svne) { SVNErrorManager.error(svne.getErrorMessage().wrap("Could not save file"), SVNLogType.NETWORK); } if (myIsFetchContent) { if (myHref == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNKNOWN, "assertion failure in DAVEditorHandler.fetchFile(): myHref is null"); SVNErrorManager.error(err, SVNLogType.NETWORK); } String deltaBaseVersionURL = myPath != null ? (String) myVersionURLs.get(myPath) : null; DeltaOutputStreamWrapper osWrapper = new DeltaOutputStreamWrapper(deltaBaseVersionURL != null, myPath); DAVConnection connection = getConnection(); connection.doGet(myHref, deltaBaseVersionURL, osWrapper); } setDeltaProcessing(false); }
protected void fetchFile(String baseChecksum) throws SVNException { setDeltaProcessing(true); try { myEditor.applyTextDelta(myPath, baseChecksum); } catch (SVNCancelException ce) { throw ce; } catch (SVNException svne) { SVNErrorManager.error(svne.getErrorMessage().wrap("Could not save file"), SVNLogType.NETWORK); } if (myIsFetchContent) { if (myHref == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNKNOWN, "assertion failure in DAVEditorHandler.fetchFile(): myHref is null"); SVNErrorManager.error(err, SVNLogType.NETWORK); } String deltaBaseVersionURL = myPath != null ? (String) myVersionURLs.get(myPath) : null; DeltaOutputStreamWrapper osWrapper = new DeltaOutputStreamWrapper(deltaBaseVersionURL != null, myPath); DAVConnection connection = getConnection(); connection.doGet(myHref, deltaBaseVersionURL, osWrapper); } setDeltaProcessing(false); }
FSRepositoryUtil.copy(inputStream, contents, getCanceller()); } else { connection.doGet(path, contents);
connection.doGet(myHref, deltaBaseVersionURL, osWrapper);//this will close osWrapper