Class SVNTreeConflictEditor
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.SVNTreeConflictEditor
- All Implemented Interfaces:
ISVNEditor2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.io.Fileprivate final SVNWCDbprivate ISVNEventHandlerprivate final java.io.Fileprivate final SVNConflictVersionprivate final SVNConflictVersionprivate final SVNOperationprivate final SVNWCDbRoot -
Constructor Summary
ConstructorsConstructorDescriptionSVNTreeConflictEditor(SVNWCDb db, SVNOperation operation, SVNConflictVersion oldVersion, SVNConflictVersion newVersion, SVNWCDbRoot wcRoot, java.io.File moveRootDstRelPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidaddAbsent(java.lang.String path, SVNNodeKind kind, long replacesRev) voidaddDir(java.lang.String path, java.util.List<java.lang.String> children, SVNProperties props, long replacesRev) voidaddFile(java.lang.String path, SvnChecksum checksum, java.io.InputStream contents, SVNProperties props, long replacesRev) voidaddSymlink(java.lang.String path, java.lang.String target, SVNProperties props, long replacesRev) voidalterDir(java.lang.String path, long revision, java.util.List<java.lang.String> children, SVNProperties props) voidalterFile(java.lang.String path, long expectedMoveDstRevision, SVNProperties newProps, SvnChecksum newChecksum, java.io.InputStream newContents) voidalterSymlink(java.lang.String path, long revision, SVNProperties props, java.lang.String target) private booleancheckTreeConflict(java.io.File localRelPath, SVNNodeKind oldKind, SVNNodeKind newKind, java.io.File oldReposRelPath, SVNConflictAction action) voidcomplete()voidcopy(java.lang.String srcPath, long srcRevision, java.lang.String dstPath, long replacesRev) private SVNSkelcreateConflictMarkers(java.io.File localAbsPath, java.io.File reposRelPath, SVNSkel conflictSkel, SVNOperation operation, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion, SVNNodeKind kind) voiddelete(java.lang.String path, long revision) private voidmarkTreeConflict(java.io.File localRelPath, SVNConflictVersion oldVersion, SVNConflictVersion newVersion, java.io.File moveRootDstRelPath, SVNOperation operation, SVNNodeKind oldKind, SVNNodeKind newKind, java.io.File oldReposRelPath, SVNConflictReason reason, SVNConflictAction action, java.io.File moveSrcOpRootRelPath) voidmove(java.lang.String srcPath, long srcRevision, java.lang.String dstPath, long replacesRev) voidrotate(java.util.List<java.lang.String> relPaths, java.util.List<java.lang.String> revisions) private voidupdateWorkingFile(java.io.File localRelPath, java.io.File reposRelPath, SVNOperation operation, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion) updateWorkingProps(SVNSkel conflictSkel, java.io.File localAbsPath, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
operation
-
oldVersion
-
newVersion
-
db
-
wcRoot
-
moveRootDstRelPath
private final java.io.File moveRootDstRelPath -
eventHandler
-
conflictRootRelPath
private java.io.File conflictRootRelPath
-
-
Constructor Details
-
SVNTreeConflictEditor
public SVNTreeConflictEditor(SVNWCDb db, SVNOperation operation, SVNConflictVersion oldVersion, SVNConflictVersion newVersion, SVNWCDbRoot wcRoot, java.io.File moveRootDstRelPath)
-
-
Method Details
-
addDir
public void addDir(java.lang.String path, java.util.List<java.lang.String> children, SVNProperties props, long replacesRev) throws SVNException - Specified by:
addDirin interfaceISVNEditor2- Throws:
SVNException
-
addFile
public void addFile(java.lang.String path, SvnChecksum checksum, java.io.InputStream contents, SVNProperties props, long replacesRev) throws SVNException - Specified by:
addFilein interfaceISVNEditor2- Throws:
SVNException
-
addSymlink
public void addSymlink(java.lang.String path, java.lang.String target, SVNProperties props, long replacesRev) throws SVNException - Specified by:
addSymlinkin interfaceISVNEditor2- Throws:
SVNException
-
addAbsent
public void addAbsent(java.lang.String path, SVNNodeKind kind, long replacesRev) throws SVNException - Specified by:
addAbsentin interfaceISVNEditor2- Throws:
SVNException
-
alterDir
public void alterDir(java.lang.String path, long revision, java.util.List<java.lang.String> children, SVNProperties props) throws SVNException - Specified by:
alterDirin interfaceISVNEditor2- Throws:
SVNException
-
alterFile
public void alterFile(java.lang.String path, long expectedMoveDstRevision, SVNProperties newProps, SvnChecksum newChecksum, java.io.InputStream newContents) throws SVNException - Specified by:
alterFilein interfaceISVNEditor2- Throws:
SVNException
-
alterSymlink
public void alterSymlink(java.lang.String path, long revision, SVNProperties props, java.lang.String target) throws SVNException - Specified by:
alterSymlinkin interfaceISVNEditor2- Throws:
SVNException
-
delete
- Specified by:
deletein interfaceISVNEditor2- Throws:
SVNException
-
copy
public void copy(java.lang.String srcPath, long srcRevision, java.lang.String dstPath, long replacesRev) throws SVNException - Specified by:
copyin interfaceISVNEditor2- Throws:
SVNException
-
move
public void move(java.lang.String srcPath, long srcRevision, java.lang.String dstPath, long replacesRev) throws SVNException - Specified by:
movein interfaceISVNEditor2- Throws:
SVNException
-
rotate
public void rotate(java.util.List<java.lang.String> relPaths, java.util.List<java.lang.String> revisions) throws SVNException - Specified by:
rotatein interfaceISVNEditor2- Throws:
SVNException
-
complete
public void complete()- Specified by:
completein interfaceISVNEditor2
-
abort
public void abort()- Specified by:
abortin interfaceISVNEditor2
-
checkTreeConflict
private boolean checkTreeConflict(java.io.File localRelPath, SVNNodeKind oldKind, SVNNodeKind newKind, java.io.File oldReposRelPath, SVNConflictAction action) throws SVNException - Throws:
SVNException
-
updateWorkingProps
private SVNTreeConflictEditor.UpdateWorkingProps updateWorkingProps(SVNSkel conflictSkel, java.io.File localAbsPath, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion) throws SVNException - Throws:
SVNException
-
createConflictMarkers
private SVNSkel createConflictMarkers(java.io.File localAbsPath, java.io.File reposRelPath, SVNSkel conflictSkel, SVNOperation operation, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion, SVNNodeKind kind) throws SVNException - Throws:
SVNException
-
updateWorkingFile
private void updateWorkingFile(java.io.File localRelPath, java.io.File reposRelPath, SVNOperation operation, SVNTreeConflictEditor.WorkingNodeVersion oldNodeVersion, SVNTreeConflictEditor.WorkingNodeVersion newNodeVersion) throws SVNException - Throws:
SVNException
-
markTreeConflict
private void markTreeConflict(java.io.File localRelPath, SVNConflictVersion oldVersion, SVNConflictVersion newVersion, java.io.File moveRootDstRelPath, SVNOperation operation, SVNNodeKind oldKind, SVNNodeKind newKind, java.io.File oldReposRelPath, SVNConflictReason reason, SVNConflictAction action, java.io.File moveSrcOpRootRelPath) throws SVNException - Throws:
SVNException
-