myConnection.write("(w(si))", new Object[] {"textdelta-chunk", myCurrentPath, source});
myConnection.write("(w(si))", new Object[] {"textdelta-chunk", path, source});
    public void textDeltaEnd() throws SVNException {        InputStream is;        try {            DebugLog.log("closing delta for " + myCurrentPath);            long length = myMediator.getLength(myCurrentPath);            if (myMediator.getLength(myCurrentPath) > 0) {                is = myMediator.getTemporaryLocation(myCurrentPath);                // create                SVNDataSource source = new SVNDataSource(is, length);                myConnection.write("(w(si))", new Object[] {"textdelta-chunk", myCurrentPath, source});                is.close();            }            DebugLog.log("new data sent" + length);        } catch (IOException e) {            throw new SVNException();        } finally {            myMediator.deleteTemporaryLocation(myCurrentPath);        }        myConnection.write("(w(s))", new Object[] {"textdelta-end", myCurrentPath});    }