Class SvnNgDiffUtil
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffUtil
public class SvnNgDiffUtil
extends java.lang.Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidarbitraryDiffThisDir(SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, java.io.File localAbsPath, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) protected static voiddiffBaseOnlyDirectory(java.io.File localAbsPath, java.io.File relPath, long revision, SVNDepth depth, ISVNWCDb db, ISvnDiffCallback2 callback) protected static voiddiffBaseOnlyFile(java.io.File localAbsPath, java.io.File relPath, long revision, ISVNWCDb db, ISvnDiffCallback2 callback) protected static voiddiffBaseWorkingDiff(java.io.File localAbsPath, java.io.File relPath, long revision, java.util.Collection<java.lang.String> changeists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) protected static voiddiffLocalOnlyDirectory(java.io.File localAbsPath, java.io.File relPath, SVNDepth depth, java.util.Collection<java.lang.String> changelists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) protected static voiddiffLocalOnlyFile(java.io.File localAbsPath, java.io.File relPath, java.util.Collection<java.lang.String> changelists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) private static voiddoArbitraryDirsDiff(java.io.File localAbsPath1, java.io.File localAbsPath2, java.io.File rootAbsPath1, java.io.File rootAbsPath2, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) private static voiddoArbitraryFilesDiff(java.io.File localAbsPath1, java.io.File localAbsPath2, java.io.File path, boolean file1IsEmpty, boolean file2IsEmpty, SVNProperties originalPropertiesOverride, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) static voiddoArbitraryNodesDiff(SvnTarget target1, SvnTarget target2, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) static voiddoDiffSummarizeReposWC(SvnTarget target1, SVNRevision revision1, SVNRevision pegRevision, SvnTarget target2, SVNRevision revision2, boolean reverse, SvnNgRepositoryAccess repositoryAccess, SVNWCContext context, boolean useGitDiffFormat, SVNDepth depth, boolean useAncestry, java.util.Collection<java.lang.String> changelists, boolean showCopiesAsAdds, ISvnDiffGenerator generator, ISVNDiffStatusHandler handler, ISVNCanceller canceller) static voiddoDiffWCWC(java.io.File localAbsPath, SvnNgRepositoryAccess repositoryAccess, SVNWCContext context, SVNDepth depth, boolean useAncestry, java.util.Collection<java.lang.String> changelists, boolean showCopiesAsAdds, boolean useGitDiffFormat, ISvnDiffGenerator generator, ISvnDiffCallback callback, ISVNCanceller canceller) private static SVNDepthgetDiffDepth(SVNDepth depth) private static booleanisRevisionBase(SVNRevision revision2) private static voidvisit(java.io.File localAbsPath, SVNFileType type, SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) private static voidwalkDirectory(java.io.File localAbsPath, SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SvnNgDiffUtil
public SvnNgDiffUtil()
-
-
Method Details
-
doDiffSummarizeReposWC
public static void doDiffSummarizeReposWC(SvnTarget target1, SVNRevision revision1, SVNRevision pegRevision, SvnTarget target2, SVNRevision revision2, boolean reverse, SvnNgRepositoryAccess repositoryAccess, SVNWCContext context, boolean useGitDiffFormat, SVNDepth depth, boolean useAncestry, java.util.Collection<java.lang.String> changelists, boolean showCopiesAsAdds, ISvnDiffGenerator generator, ISVNDiffStatusHandler handler, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
doDiffWCWC
public static void doDiffWCWC(java.io.File localAbsPath, SvnNgRepositoryAccess repositoryAccess, SVNWCContext context, SVNDepth depth, boolean useAncestry, java.util.Collection<java.lang.String> changelists, boolean showCopiesAsAdds, boolean useGitDiffFormat, ISvnDiffGenerator generator, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
getDiffDepth
-
isRevisionBase
-
diffBaseOnlyFile
protected static void diffBaseOnlyFile(java.io.File localAbsPath, java.io.File relPath, long revision, ISVNWCDb db, ISvnDiffCallback2 callback) throws SVNException - Throws:
SVNException
-
diffBaseOnlyDirectory
protected static void diffBaseOnlyDirectory(java.io.File localAbsPath, java.io.File relPath, long revision, SVNDepth depth, ISVNWCDb db, ISvnDiffCallback2 callback) throws SVNException - Throws:
SVNException
-
diffLocalOnlyFile
protected static void diffLocalOnlyFile(java.io.File localAbsPath, java.io.File relPath, java.util.Collection<java.lang.String> changelists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) throws SVNException - Throws:
SVNException
-
diffLocalOnlyDirectory
protected static void diffLocalOnlyDirectory(java.io.File localAbsPath, java.io.File relPath, SVNDepth depth, java.util.Collection<java.lang.String> changelists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) throws SVNException - Throws:
SVNException
-
diffBaseWorkingDiff
protected static void diffBaseWorkingDiff(java.io.File localAbsPath, java.io.File relPath, long revision, java.util.Collection<java.lang.String> changeists, boolean diffPristine, SVNWCContext context, ISvnDiffCallback2 callback) throws SVNException - Throws:
SVNException
-
doArbitraryNodesDiff
public static void doArbitraryNodesDiff(SvnTarget target1, SvnTarget target2, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
doArbitraryFilesDiff
private static void doArbitraryFilesDiff(java.io.File localAbsPath1, java.io.File localAbsPath2, java.io.File path, boolean file1IsEmpty, boolean file2IsEmpty, SVNProperties originalPropertiesOverride, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
doArbitraryDirsDiff
private static void doArbitraryDirsDiff(java.io.File localAbsPath1, java.io.File localAbsPath2, java.io.File rootAbsPath1, java.io.File rootAbsPath2, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
arbitraryDiffThisDir
private static void arbitraryDiffThisDir(SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, java.io.File localAbsPath, SVNDepth depth, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
walkDirectory
private static void walkDirectory(java.io.File localAbsPath, SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
visit
private static void visit(java.io.File localAbsPath, SVNFileType type, SvnNgDiffUtil.ArbitraryDiffWalker diffWalker, SVNWCContext context, ISvnDiffCallback callback, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-