Class FSUpdateContext


  • public class FSUpdateContext
    extends java.lang.Object
    Version:
    1.3
    • Field Detail

      • myReportFile

        private java.io.File myReportFile
      • myTarget

        private java.lang.String myTarget
      • myReportOS

        private java.io.OutputStream myReportOS
      • myReportIS

        private FSFile myReportIS
      • myTargetRevision

        private long myTargetRevision
      • myCurrentPathInfo

        private PathInfo myCurrentPathInfo
      • ignoreAncestry

        private boolean ignoreAncestry
      • sendTextDeltas

        private boolean sendTextDeltas
      • myTargetPath

        private java.lang.String myTargetPath
      • isSwitch

        private boolean isSwitch
      • mySendCopyFromArgs

        private boolean mySendCopyFromArgs
      • myTargetRoot

        private FSRoot myTargetRoot
      • myRootsCache

        private java.util.LinkedList myRootsCache
      • myFSFS

        private FSFS myFSFS
    • Constructor Detail

      • FSUpdateContext

        public FSUpdateContext​(FSRepository repository,
                               FSFS owner,
                               long revision,
                               java.io.File reportFile,
                               java.lang.String target,
                               java.lang.String targetPath,
                               boolean isSwitch,
                               SVNDepth depth,
                               boolean ignoreAncestry,
                               boolean textDeltas,
                               boolean sendCopyFromArgs,
                               ISVNEditor editor)
    • Method Detail

      • reset

        public void reset​(FSRepository repository,
                          FSFS owner,
                          long revision,
                          java.io.File reportFile,
                          java.lang.String target,
                          java.lang.String targetPath,
                          boolean isSwitch,
                          SVNDepth depth,
                          boolean ignoreAncestry,
                          boolean textDeltas,
                          boolean sendCopyFrom,
                          ISVNEditor editor)
                   throws SVNException
        Throws:
        SVNException
      • setTargetRoot

        public void setTargetRoot​(FSRoot root)
      • getReportFileForWriting

        public java.io.OutputStream getReportFileForWriting()
                                                     throws SVNException
        Throws:
        SVNException
      • isIgnoreAncestry

        private boolean isIgnoreAncestry()
      • isSwitch

        private boolean isSwitch()
      • isSendTextDeltas

        private boolean isSendTextDeltas()
      • getReportTarget

        private java.lang.String getReportTarget()
      • getReportTargetPath

        private java.lang.String getReportTargetPath()
      • getTargetRevision

        private long getTargetRevision()
      • getCurrentPathInfo

        private PathInfo getCurrentPathInfo()
      • getRootsCache

        private java.util.LinkedList getRootsCache()
      • diffDirs

        private void diffDirs​(long sourceRevision,
                              java.lang.String sourcePath,
                              java.lang.String targetPath,
                              java.lang.String editPath,
                              boolean startEmpty,
                              SVNDepth wcDepth,
                              SVNDepth requestedDepth)
                       throws SVNException
        Throws:
        SVNException
      • diffFiles

        private void diffFiles​(long sourceRevision,
                               java.lang.String sourcePath,
                               java.lang.String targetPath,
                               java.lang.String editPath,
                               java.lang.String lockToken)
                        throws SVNException
        Throws:
        SVNException
      • getDeletedRevision

        private long getDeletedRevision​(java.lang.String targetPath,
                                        long sourceRevision,
                                        long targetRevision)
                                 throws SVNException
        Throws:
        SVNException
      • computeMetaProperties

        private java.util.Map computeMetaProperties​(long revision)
                                             throws SVNException
        Throws:
        SVNException
      • diffProplists

        private void diffProplists​(long sourceRevision,
                                   java.lang.String sourcePath,
                                   java.lang.String editPath,
                                   java.lang.String targetPath,
                                   java.lang.String lockToken,
                                   boolean isDir)
                            throws SVNException
        Throws:
        SVNException
      • fetchPathInfo

        private java.lang.Object[] fetchPathInfo​(java.lang.String prefix)
                                          throws SVNException
        Throws:
        SVNException
      • writeSingleString

        private void writeSingleString​(java.lang.String s,
                                       java.io.OutputStream out)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • writePathInfoToReportFile

        public void writePathInfoToReportFile​(java.lang.String path,
                                              java.lang.String linkPath,
                                              java.lang.String lockToken,
                                              long revision,
                                              boolean startEmpty,
                                              SVNDepth depth)
                                       throws SVNException
        Throws:
        SVNException