Class SvnWcDbConflicts
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbConflicts
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumNested classes/interfaces inherited from class org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
SvnWcDbShared.Target -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final java.lang.Stringprivate static final java.lang.Stringprivate static final java.lang.StringFields inherited from class org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
EMPTY_PROPS_BLOB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddPropConflict(SVNSkel skel, java.lang.String propReject) static voidaddPropConflict(SVNSkel skel, java.lang.String propName, SVNPropertyValue originalVal, SVNPropertyValue mineVal, SVNPropertyValue incomingVal, SVNPropertyValue incomingBaseVal) static voidaddPropConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, java.io.File markerAbsPath, SVNProperties mineProps, SVNProperties theirOldProps, SVNProperties theirProps, java.util.Collection<java.lang.String> conflictedPropNames) private static voidaddTextConflict(SVNSkel skel, java.lang.String mineRelPath, java.lang.String theirOldRelPath, java.lang.String theirRelPath) static voidaddTextConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, java.io.File mineAbsPath, java.io.File theirOldAbsPath, java.io.File theirAbsPath) static voidaddTreeConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, SVNConflictReason localChange, SVNConflictAction incomingChange, java.io.File moveSrcOpRootAbsPath) private static voidaddTreeConflict(SVNSkel skel, SVNConflictReason localChange, SVNConflictAction incomingChange) static voidconflictSkelOpMerge(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) static voidconflictSkelOpSwitch(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) static voidconflictSkelOpUpdate(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) static booleanconflictSkelResolve(SVNSkel conflictSkel, ISVNWCDb db, java.io.File wriAbsPAth, boolean resolveText, java.lang.String resolveProp, boolean resolveTree) static java.util.List<SVNWCConflictDescription17>convertFromSkel(SVNWCDb db, java.io.File localAbsPath, boolean createTempFiles, SVNSkel conflictSkel) static SVNSkelconvertToConflictSkel(java.io.File wcRootAbsPath, SVNWCDb db, java.lang.String localRelpath, java.lang.String conflictOld, java.lang.String conflictWorking, java.lang.String conflictNew, java.lang.String propReject, byte[] treeConflictData) static SVNSkelconvertToConflictSkel(java.lang.String conflictOld, java.lang.String conflictWorking, java.lang.String conflictNew, java.lang.String propReject, byte[] treeConflictData) static SVNSkelcreateConflictMarkers(ISVNWCDb db, java.io.File localAbsPath, SVNSkel conflictSkel) static SVNSkelstatic SVNSkelgetConflict(SVNSkel conflictSkel, SvnWcDbConflicts.ConflictKind kind) private static Structure<SvnWcDbConflicts.ConflictStatus>getConflictStatus(SVNWCDb db, java.io.File localAbsPath) getConflictStatusForUpdate(SVNWCDb db, java.io.File localAbsPath, boolean treeConflictOnly) private static SVNSkelgetOperation(SVNSkel conflictSkel) private static booleanhasConflictKind(SVNSkel conflictSkel, SvnWcDbConflicts.ConflictKind kind) static booleanstatic voidprependLocation(SVNSkel skel, SVNConflictVersion location) static voidprependPropValue(SVNPropertyValue fromVal, SVNSkel skel) static SVNSkelreadConflict(SVNWCDb db, java.io.File localAbspath) readConflictInfo(SVNSkel conflictSkel) static SVNSkelreadConflictInternal(SVNWCDbRoot wcRoot, java.io.File localRelPath) private static SVNConflictVersionreadConflictLocation(SVNSkel locationSkel) static java.util.List<java.io.File>readConflictMarkers(SVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) private static SVNSkelreadConflictOperation(SVNSkel conflictSkel) readPropertyConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) static voidreadPropertyConflicts(java.util.List<SVNWCConflictDescription17> target, SVNWCDb db, java.io.File localAbsPath, SVNSkel conflictSkel, boolean createTempFiles, SVNOperation operation, SVNConflictVersion leftVersion, SVNConflictVersion rightVersion) readTextConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) readTreeConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) static voidsetConflictOperation(SVNSkel skel, SVNOperation operation, SVNConflictVersion original, SVNConflictVersion target) static SVNSkeltreeConflictDescriptionToSkel(ISVNWCDb db, java.io.File wriAbsPath, SVNTreeConflictDescription conflictDescription) static SVNSkelupgradeConflictSkelFromRaw(ISVNWCDb db, java.io.File wriAbsPath, java.io.File localRelPath, java.lang.String conflictOld, java.lang.String conflictWork, java.lang.String conflictNew, java.io.File prejFile, SVNSkel oldTreeConflictData) Methods inherited from class org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
begingReadTransaction, begingWriteTransaction, canonicalizeURLs, collectTargets, commitTransaction, doesNodeExists, getBaseInfo, getBaseInfo, getDepthInfo, getMovedFromInfo, nodeIsNotInstallable, nodeNotFound, nodeNotFound, readInfo, readInfo, rollbackTransaction, scanAddition, scanAddition, scanDeletion, scanDeletion, scanMoved, sqliteErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CONFLICT_OP_UPDATE
private static final java.lang.String CONFLICT_OP_UPDATE- See Also:
-
CONFLICT_OP_SWITCH
private static final java.lang.String CONFLICT_OP_SWITCH- See Also:
-
CONFLICT_OP_MERGE
private static final java.lang.String CONFLICT_OP_MERGE- See Also:
-
-
Constructor Details
-
SvnWcDbConflicts
public SvnWcDbConflicts()
-
-
Method Details
-
convertToConflictSkel
public static SVNSkel convertToConflictSkel(java.lang.String conflictOld, java.lang.String conflictWorking, java.lang.String conflictNew, java.lang.String propReject, byte[] treeConflictData) throws SVNException - Throws:
SVNException
-
convertToConflictSkel
public static SVNSkel convertToConflictSkel(java.io.File wcRootAbsPath, SVNWCDb db, java.lang.String localRelpath, java.lang.String conflictOld, java.lang.String conflictWorking, java.lang.String conflictNew, java.lang.String propReject, byte[] treeConflictData) throws SVNException - Throws:
SVNException
-
convertFromSkel
public static java.util.List<SVNWCConflictDescription17> convertFromSkel(SVNWCDb db, java.io.File localAbsPath, boolean createTempFiles, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
createConflictSkel
- Throws:
SVNException
-
isConflictSkelComplete
- Throws:
SVNException
-
prependLocation
- Throws:
SVNException
-
setConflictOperation
public static void setConflictOperation(SVNSkel skel, SVNOperation operation, SVNConflictVersion original, SVNConflictVersion target) throws SVNException - Throws:
SVNException
-
addTextConflict
public static void addTextConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, java.io.File mineAbsPath, java.io.File theirOldAbsPath, java.io.File theirAbsPath) throws SVNException - Throws:
SVNException
-
addPropConflict
public static void addPropConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, java.io.File markerAbsPath, SVNProperties mineProps, SVNProperties theirOldProps, SVNProperties theirProps, java.util.Collection<java.lang.String> conflictedPropNames) throws SVNException - Throws:
SVNException
-
addTreeConflict
public static void addTreeConflict(SVNSkel skel, ISVNWCDb db, java.io.File wriAbsPath, SVNConflictReason localChange, SVNConflictAction incomingChange, java.io.File moveSrcOpRootAbsPath) throws SVNException - Throws:
SVNException
-
readConflict
- Throws:
SVNException
-
readConflictInternal
public static SVNSkel readConflictInternal(SVNWCDbRoot wcRoot, java.io.File localRelPath) throws SVNException - Throws:
SVNException
-
readConflictInfo
public static Structure<SvnWcDbConflicts.ConflictInfo> readConflictInfo(SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
readPropertyConflicts
public static void readPropertyConflicts(java.util.List<SVNWCConflictDescription17> target, SVNWCDb db, java.io.File localAbsPath, SVNSkel conflictSkel, boolean createTempFiles, SVNOperation operation, SVNConflictVersion leftVersion, SVNConflictVersion rightVersion) throws SVNException - Throws:
SVNException
-
readPropertyConflict
public static Structure<SvnWcDbConflicts.PropertyConflictInfo> readPropertyConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
readTextConflict
public static Structure<SvnWcDbConflicts.TextConflictInfo> readTextConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
readTreeConflict
public static Structure<SvnWcDbConflicts.TreeConflictInfo> readTreeConflict(ISVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
getConflictStatusForUpdate
public static Structure<SvnWcDbConflicts.ConflictStatus> getConflictStatusForUpdate(SVNWCDb db, java.io.File localAbsPath, boolean treeConflictOnly) throws SVNException - Throws:
SVNException
-
getConflictStatus
private static Structure<SvnWcDbConflicts.ConflictStatus> getConflictStatus(SVNWCDb db, java.io.File localAbsPath) throws SVNException - Throws:
SVNException
-
readConflictOperation
-
hasConflictKind
-
getConflict
-
readConflictLocation
- Throws:
SVNException
-
conflictSkelOpUpdate
public static void conflictSkelOpUpdate(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) throws SVNException - Throws:
SVNException
-
conflictSkelOpSwitch
public static void conflictSkelOpSwitch(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) throws SVNException - Throws:
SVNException
-
conflictSkelOpMerge
public static void conflictSkelOpMerge(SVNSkel conflictSkel, SVNConflictVersion original, SVNConflictVersion target) throws SVNException - Throws:
SVNException
-
createConflictMarkers
public static SVNSkel createConflictMarkers(ISVNWCDb db, java.io.File localAbsPath, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
getOperation
- Throws:
SVNException
-
addPropConflict
public static void addPropConflict(SVNSkel skel, java.lang.String propName, SVNPropertyValue originalVal, SVNPropertyValue mineVal, SVNPropertyValue incomingVal, SVNPropertyValue incomingBaseVal) throws SVNException - Throws:
SVNException
-
prependPropValue
- Throws:
SVNException
-
treeConflictDescriptionToSkel
public static SVNSkel treeConflictDescriptionToSkel(ISVNWCDb db, java.io.File wriAbsPath, SVNTreeConflictDescription conflictDescription) throws SVNException - Throws:
SVNException
-
conflictSkelResolve
public static boolean conflictSkelResolve(SVNSkel conflictSkel, ISVNWCDb db, java.io.File wriAbsPAth, boolean resolveText, java.lang.String resolveProp, boolean resolveTree) throws SVNException - Throws:
SVNException
-
readConflictMarkers
public static java.util.List<java.io.File> readConflictMarkers(SVNWCDb db, java.io.File wriAbsPath, SVNSkel conflictSkel) throws SVNException - Throws:
SVNException
-
upgradeConflictSkelFromRaw
public static SVNSkel upgradeConflictSkelFromRaw(ISVNWCDb db, java.io.File wriAbsPath, java.io.File localRelPath, java.lang.String conflictOld, java.lang.String conflictWork, java.lang.String conflictNew, java.io.File prejFile, SVNSkel oldTreeConflictData) throws SVNException - Throws:
SVNException
-
addTextConflict
private static void addTextConflict(SVNSkel skel, java.lang.String mineRelPath, java.lang.String theirOldRelPath, java.lang.String theirRelPath) throws SVNException - Throws:
SVNException
-
addPropConflict
- Throws:
SVNException
-
addTreeConflict
private static void addTreeConflict(SVNSkel skel, SVNConflictReason localChange, SVNConflictAction incomingChange) throws SVNException - Throws:
SVNException
-