Class SvnWcDbRelocate
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
-
- org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbRelocate
-
public class SvnWcDbRelocate extends SvnWcDbShared
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SvnWcDbRelocate.ISvnRelocateValidator
private static class
SvnWcDbRelocate.RecursiveUpdateNodeRepo
UPDATE nodes SET repos_id = ?4, dav_cache = NULL WHERE wc_id = ?1 AND repos_id = ?3 AND (?2 = '' OR local_relpath = ?2 OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))private static class
SvnWcDbRelocate.UpdateLockReposId
UPDATE lock SET repos_id = ?2 WHERE repos_id = ?1-
Nested classes/interfaces inherited from class org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
SvnWcDbShared.Target
-
-
Field Summary
-
Fields inherited from class org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
EMPTY_PROPS_BLOB
-
-
Constructor Summary
Constructors Constructor Description SvnWcDbRelocate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
relocate(SVNWCDb db, java.io.File localAbspath, SVNURL repositoryRootUrl)
private static void
relocate(SVNWCDbRoot root, java.io.File localRelPath, SVNURL reposRootUrl, java.lang.String reposUuid, boolean haveBaseNode, long oldReposId)
static void
relocate(SVNWCContext context, java.io.File localAbspath, SVNURL from, SVNURL to, SvnWcDbRelocate.ISvnRelocateValidator validator)
-
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, sqliteError
-
-
-
-
Method Detail
-
relocate
public static void relocate(SVNWCContext context, java.io.File localAbspath, SVNURL from, SVNURL to, SvnWcDbRelocate.ISvnRelocateValidator validator) throws SVNException
- Throws:
SVNException
-
relocate
private static void relocate(SVNWCDb db, java.io.File localAbspath, SVNURL repositoryRootUrl) throws SVNException
- Throws:
SVNException
-
relocate
private static void relocate(SVNWCDbRoot root, java.io.File localRelPath, SVNURL reposRootUrl, java.lang.String reposUuid, boolean haveBaseNode, long oldReposId) throws SVNException
- Throws:
SVNException
-
-