Class SVNWCManager
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNWCManager
-
public class SVNWCManager extends java.lang.Object- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static intCOPIEDstatic intKEEP_LOCALstatic intSCHEDULE
-
Constructor Summary
Constructors Constructor Description SVNWCManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidadd(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, long copyFromRev, SVNDepth depth)static voidadd(java.io.File path, SVNAdminArea parentDir, SVNURL copyFromURL, SVNRevision copyFromRev, SVNDepth depth)static voidaddProperties(SVNAdminArea dir, java.lang.String fileName, SVNProperties properties, boolean base, SVNLog log)static voidaddRepositoryFile(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 voidcanDelete(java.io.File path, ISVNOptions options, ISVNEventHandler eventHandler)static voidcreateRevertProperties(SVNWCAccess access, java.io.File path, boolean removeBase)static voidcrop(SVNAdminAreaInfo info, SVNDepth depth)private static voidcropChildren(SVNWCAccess wcAccess, java.io.File path, SVNDepth depth)static voiddelete(SVNWCAccess wcAccess, SVNAdminArea root, java.io.File path, boolean deleteFiles, boolean cancellable)static voiddoDeleteUnversionedFiles(SVNWCAccess wcAccess, java.io.File path, boolean deleteFiles)static voiddoEraseFromWC(java.io.File path, SVNAdminArea dir, SVNNodeKind kind, boolean deleteFiles)static booleanensureAdminAreaExists(java.io.File path, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revision, SVNDepth depth)static java.lang.StringgetActualTarget(java.io.File file)private static voidhandleLeftLocalModificationsError(SVNException originalError)static booleanisEntrySwitched(java.io.File path, SVNEntry entry)static voidmarkEntry(SVNAdminArea dir, SVNEntry entry, java.lang.String schedule, boolean copied, boolean keepLocal, int flags)static voidmarkTree(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags)static voidmarkTreeCancellable(SVNAdminArea dir, java.lang.String schedule, boolean copied, boolean keepLocal, int flags)private static voidtweakEntries(SVNAdminArea dir, java.lang.String baseURL, java.lang.String rootURL, long newRevision, boolean removeMissingDirs, java.util.Collection excludePaths, SVNDepth depth, boolean skipUnlocked)static voidupdateCleanup(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)
-
-
-
Field Detail
-
SCHEDULE
public static final int SCHEDULE
- See Also:
- Constant Field Values
-
COPIED
public static final int COPIED
- See Also:
- Constant Field Values
-
KEEP_LOCAL
public static final int KEEP_LOCAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static boolean isEntrySwitched(java.io.File path, SVNEntry entry) throws SVNException- Throws:
SVNException
-
crop
public static void crop(SVNAdminAreaInfo info, SVNDepth depth) throws SVNException
- Throws:
SVNException
-
getActualTarget
public static java.lang.String getActualTarget(java.io.File file) throws SVNException- 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
-
-