Class FSUpdateContext
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate PathInfoprivate SVNDeltaCombinerprivate SVNDeltaGeneratorprivate SVNDepthprivate ISVNEditorprivate FSFSprivate Fileprivate FSFileprivate OutputStreamprivate FSRepositoryprivate LinkedListprivate booleanprivate Stringprivate Stringprivate longprivate FSRootprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionFSUpdateContext(FSRepository repository, FSFS owner, long revision, File reportFile, String target, String targetPath, boolean isSwitch, SVNDepth depth, boolean ignoreAncestry, boolean textDeltas, boolean sendCopyFromArgs, ISVNEditor editor) -
Method Summary
Modifier and TypeMethodDescriptionprivate SVNLocationEntryaddFileSmartly(String editPath, String originalPath) private voidchangeProperty(String path, String name, SVNPropertyValue value, boolean isDir) private MapcomputeMetaProperties(long revision) private voiddiffDirs(long sourceRevision, String sourcePath, String targetPath, String editPath, boolean startEmpty, SVNDepth wcDepth, SVNDepth requestedDepth) private voiddiffFiles(long sourceRevision, String sourcePath, String targetPath, String editPath, String lockToken) private voiddiffProplists(long sourceRevision, String sourcePath, String editPath, String targetPath, String lockToken, boolean isDir) voiddispose()voiddrive()private FSEntryfakeDirEntry(String reposPath, FSRoot root) private Object[]fetchPathInfo(String prefix) private PathInfoprivate longgetDeletedRevision(String targetPath, long sourceRevision, long targetRevision) private SVNDepthgetDepthBelow(SVNDepth depth) getDepthLetter(SVNDepth depth) private ISVNEditorprivate PathInfoprivate Stringprivate Stringprivate LinkedListprivate FSRevisionRootgetSourceRoot(long revision) private longprivate FSRootprivate booleanisDepthUpgrade(SVNDepth wcDepth, SVNDepth requestedDepth, SVNNodeKind kind) private booleanprivate booleanprivate booleanisSwitch()private booleanvoidreset(FSRepository repository, FSFS owner, long revision, File reportFile, String target, String targetPath, boolean isSwitch, SVNDepth depth, boolean ignoreAncestry, boolean textDeltas, boolean sendCopyFrom, ISVNEditor editor) voidsetTargetRoot(FSRoot root) private voidskipPathInfo(String prefix) private voidupdateEntry(long sourceRevision, String sourcePath, FSEntry sourceEntry, String targetPath, FSEntry targetEntry, String editPath, PathInfo pathInfo, SVNDepth wcDepth, SVNDepth requestedDepth) voidwritePathInfoToReportFile(String path, String linkPath, String lockToken, long revision, boolean startEmpty, SVNDepth depth) private voidwriteSingleString(String s, OutputStream out)
-
Field Details
-
myReportFile
-
myTarget
-
myReportOS
-
myReportIS
-
myEditor
-
myTargetRevision
private long myTargetRevision -
myDepth
-
myCurrentPathInfo
-
ignoreAncestry
private boolean ignoreAncestry -
sendTextDeltas
private boolean sendTextDeltas -
myTargetPath
-
isSwitch
private boolean isSwitch -
mySendCopyFromArgs
private boolean mySendCopyFromArgs -
myTargetRoot
-
myRootsCache
-
myFSFS
-
myRepository
-
myDeltaGenerator
-
myDeltaCombiner
-
-
Constructor Details
-
FSUpdateContext
public FSUpdateContext(FSRepository repository, FSFS owner, long revision, File reportFile, String target, String targetPath, boolean isSwitch, SVNDepth depth, boolean ignoreAncestry, boolean textDeltas, boolean sendCopyFromArgs, ISVNEditor editor)
-
-
Method Details
-
reset
public void reset(FSRepository repository, FSFS owner, long revision, File reportFile, String target, String targetPath, boolean isSwitch, SVNDepth depth, boolean ignoreAncestry, boolean textDeltas, boolean sendCopyFrom, ISVNEditor editor) throws SVNException - Throws:
SVNException
-
setTargetRoot
-
getReportFileForWriting
- Throws:
SVNException
-
isIgnoreAncestry
private boolean isIgnoreAncestry() -
isSwitch
private boolean isSwitch() -
isSendTextDeltas
private boolean isSendTextDeltas() -
getReportTarget
-
getReportTargetPath
-
dispose
- Throws:
SVNException
-
getEditor
-
getTargetRevision
private long getTargetRevision() -
getNextPathInfo
- Throws:
IOExceptionSVNException
-
getCurrentPathInfo
-
getTargetRoot
- Throws:
SVNException
-
getRootsCache
-
getSourceRoot
- Throws:
SVNException
-
drive
- Throws:
SVNException
-
diffDirs
private void diffDirs(long sourceRevision, String sourcePath, String targetPath, String editPath, boolean startEmpty, SVNDepth wcDepth, SVNDepth requestedDepth) throws SVNException - Throws:
SVNException
-
isDepthUpgrade
-
diffFiles
private void diffFiles(long sourceRevision, String sourcePath, String targetPath, String editPath, String lockToken) throws SVNException - Throws:
SVNException
-
updateEntry
private void updateEntry(long sourceRevision, String sourcePath, FSEntry sourceEntry, String targetPath, FSEntry targetEntry, String editPath, PathInfo pathInfo, SVNDepth wcDepth, SVNDepth requestedDepth) throws SVNException - Throws:
SVNException
-
getDeletedRevision
private long getDeletedRevision(String targetPath, long sourceRevision, long targetRevision) throws SVNException - Throws:
SVNException
-
isTransactionTarget
- Throws:
SVNException
-
addFileSmartly
- Throws:
SVNException
-
computeMetaProperties
- Throws:
SVNException
-
diffProplists
private void diffProplists(long sourceRevision, String sourcePath, String editPath, String targetPath, String lockToken, boolean isDir) throws SVNException - Throws:
SVNException
-
getDepthBelow
-
fetchPathInfo
- Throws:
SVNException
-
changeProperty
private void changeProperty(String path, String name, SVNPropertyValue value, boolean isDir) throws SVNException - Throws:
SVNException
-
fakeDirEntry
- Throws:
SVNException
-
skipPathInfo
- Throws:
SVNException
-
writeSingleString
- Throws:
IOException
-
writePathInfoToReportFile
public void writePathInfoToReportFile(String path, String linkPath, String lockToken, long revision, boolean startEmpty, SVNDepth depth) throws SVNException - Throws:
SVNException
-
getDepthLetter
- Throws:
SVNException
-