Class SVNWCManager
java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNWCManager
public class SVNWCManager
extends java.lang.Object
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
add
(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, long copyFromRev, SVNDepth depth) static void
add
(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, SVNRevision copyFromRev, SVNDepth depth) static void
addProperties
(SVNAdminArea dir, java.lang.String fileName, SVNProperties properties, boolean base, SVNLog log) static void
addRepositoryFile
(SVNAdminArea dir, java.lang.String fileName, java.io.File text, java.io.File textBase, SVNProperties baseProperties, SVNProperties properties, java.lang.String copyFromURL, long copyFromRev) static void
canDelete
(java.io.File path, ISVNOptions options, ISVNEventHandler eventHandler) static void
createRevertProperties
(SVNWCAccess access, java.io.File path, boolean removeBase) static void
crop
(SVNAdminAreaInfo info, SVNDepth depth) private static void
cropChildren
(SVNWCAccess wcAccess, java.io.File path, SVNDepth depth) static void
delete
(SVNWCAccess wcAccess, SVNAdminArea root, java.io.File path, boolean deleteFiles, boolean cancellable) static void
doDeleteUnversionedFiles
(SVNWCAccess wcAccess, java.io.File path, boolean deleteFiles) static void
doEraseFromWC
(java.io.File path, SVNAdminArea dir, SVNNodeKind kind, boolean deleteFiles) static boolean
ensureAdminAreaExists
(java.io.File path, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revision, SVNDepth depth) static java.lang.String
getActualTarget
(java.io.File file) private static void
handleLeftLocalModificationsError
(SVNException originalError) static boolean
isEntrySwitched
(java.io.File path, SVNEntry entry) static void
markEntry
(SVNAdminArea dir, SVNEntry entry, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) static void
markTree
(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) static void
markTreeCancellable
(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) private static void
tweakEntries
(SVNAdminArea dir, java.lang.String baseURL, java.lang.String rootURL, long newRevision, boolean removeMissingDirs, java.util.Collection excludePaths, SVNDepth depth, boolean skipUnlocked) static void
updateCleanup
(java.io.File path, SVNWCAccess wcAccess, java.lang.String baseURL, java.lang.String rootURL, long newRevision, boolean removeMissingDirs, java.util.Collection excludePaths, SVNDepth depth, boolean skipUnlocked) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SCHEDULE
public static final int SCHEDULE- See Also:
-
COPIED
public static final int COPIED- See Also:
-
KEEP_LOCAL
public static final int KEEP_LOCAL- See Also:
-
-
Constructor Details
-
SVNWCManager
public SVNWCManager()
-
-
Method Details
-
add
public static void add(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, SVNRevision copyFromRev, SVNDepth depth) throws SVNException - Throws:
SVNException
-
add
public static void add(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, long copyFromRev, SVNDepth depth) throws SVNException - Throws:
SVNException
-
markEntry
public static void markEntry(SVNAdminArea dir, SVNEntry entry, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) throws SVNException - Throws:
SVNException
-
markTree
public static void markTree(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) throws SVNException - Throws:
SVNException
-
markTreeCancellable
public static void markTreeCancellable(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags) throws SVNException - Throws:
SVNException
-
updateCleanup
public static void updateCleanup(java.io.File path, SVNWCAccess wcAccess, java.lang.String baseURL, java.lang.String rootURL, long newRevision, boolean removeMissingDirs, java.util.Collection excludePaths, SVNDepth depth, boolean skipUnlocked) throws SVNException - Throws:
SVNException
-
tweakEntries
private static void tweakEntries(SVNAdminArea dir, java.lang.String baseURL, java.lang.String rootURL, long newRevision, boolean removeMissingDirs, java.util.Collection excludePaths, SVNDepth depth, boolean skipUnlocked) throws SVNException - Throws:
SVNException
-
ensureAdminAreaExists
public static boolean ensureAdminAreaExists(java.io.File path, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revision, SVNDepth depth) throws SVNException - Throws:
SVNException
-
canDelete
public static void canDelete(java.io.File path, ISVNOptions options, ISVNEventHandler eventHandler) throws SVNException - Throws:
SVNException
-
delete
public static void delete(SVNWCAccess wcAccess, SVNAdminArea root, java.io.File path, boolean deleteFiles, boolean cancellable) throws SVNException - Throws:
SVNException
-
doDeleteUnversionedFiles
public static void doDeleteUnversionedFiles(SVNWCAccess wcAccess, java.io.File path, boolean deleteFiles) throws SVNException - Throws:
SVNException
-
doEraseFromWC
public static void doEraseFromWC(java.io.File path, SVNAdminArea dir, SVNNodeKind kind, boolean deleteFiles) throws SVNException - Throws:
SVNException
-
addRepositoryFile
public static void addRepositoryFile(SVNAdminArea dir, java.lang.String fileName, java.io.File text, java.io.File textBase, SVNProperties baseProperties, SVNProperties properties, java.lang.String copyFromURL, long copyFromRev) throws SVNException - Throws:
SVNException
-
addProperties
public static void addProperties(SVNAdminArea dir, java.lang.String fileName, SVNProperties properties, boolean base, SVNLog log) throws SVNException - Throws:
SVNException
-
isEntrySwitched
- Throws:
SVNException
-
crop
- Throws:
SVNException
-
getActualTarget
- Throws:
SVNException
-
createRevertProperties
public static void createRevertProperties(SVNWCAccess access, java.io.File path, boolean removeBase) throws SVNException - Throws:
SVNException
-
cropChildren
private static void cropChildren(SVNWCAccess wcAccess, java.io.File path, SVNDepth depth) throws SVNException - Throws:
SVNException
-
handleLeftLocalModificationsError
private static void handleLeftLocalModificationsError(SVNException originalError) throws SVNException - Throws:
SVNException
-