Class SvnNgUpgradeSDb
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpgradeSDb
-
public class SvnNgUpgradeSDb extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static interface
SvnNgUpgradeSDb.Bumpable
private static class
SvnNgUpgradeSDb.bumpTo20
private static class
SvnNgUpgradeSDb.bumpTo21
private static class
SvnNgUpgradeSDb.bumpTo22
private static class
SvnNgUpgradeSDb.bumpTo23
private static class
SvnNgUpgradeSDb.bumpTo24
private static class
SvnNgUpgradeSDb.bumpTo25
private static class
SvnNgUpgradeSDb.bumpTo26
private static class
SvnNgUpgradeSDb.bumpTo27
private static class
SvnNgUpgradeSDb.bumpTo28
private static class
SvnNgUpgradeSDb.bumpTo29
private static class
SvnNgUpgradeSDb.bumpTo30
private static class
SvnNgUpgradeSDb.bumpTo31
private static class
SvnNgUpgradeSDb.UpdateChecksum
-
Field Summary
Fields Modifier and Type Field Description private static int
PRISTINE_BASENAME_OLD_LEN
private static java.lang.String
PRISTINE_STORAGE_EXT
-
Constructor Summary
Constructors Constructor Description SvnNgUpgradeSDb()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
migrateSingleTreeConflictData(SVNSqlJetDb sDb, java.lang.String treeConflictData, long wcId, java.io.File localRelPath)
private static void
migrateTreeConflictData(SVNSqlJetDb sDb)
private static void
runBump(SVNWCDb db, SVNSqlJetDb sDb, java.io.File wcRootAbsPath, SvnNgUpgradeSDb.Bumpable bump)
static void
setVersion(SVNSqlJetDb sDb, int version)
static int
upgrade(java.io.File wcRootAbsPath, SVNWCDb db, SVNSqlJetDb sDb, int startFormat, ISVNEventHandler eventHandler)
private static void
upgradeExternals(SVNSqlJetDb sDb, java.io.File wcRootAbsPath)
private static java.lang.String
versionStringFromFormat(int wcFormat)
-
-
-
Method Detail
-
versionStringFromFormat
private static java.lang.String versionStringFromFormat(int wcFormat)
-
upgrade
public static int upgrade(java.io.File wcRootAbsPath, SVNWCDb db, SVNSqlJetDb sDb, int startFormat, ISVNEventHandler eventHandler) throws SVNException
- Throws:
SVNException
-
migrateTreeConflictData
private static void migrateTreeConflictData(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
migrateSingleTreeConflictData
private static void migrateSingleTreeConflictData(SVNSqlJetDb sDb, java.lang.String treeConflictData, long wcId, java.io.File localRelPath) throws SVNException
- Throws:
SVNException
-
setVersion
public static void setVersion(SVNSqlJetDb sDb, int version) throws SVNException
- Throws:
SVNException
-
runBump
private static void runBump(SVNWCDb db, SVNSqlJetDb sDb, java.io.File wcRootAbsPath, SvnNgUpgradeSDb.Bumpable bump) throws SVNException
- Throws:
SVNException
-
upgradeExternals
private static void upgradeExternals(SVNSqlJetDb sDb, java.io.File wcRootAbsPath) throws SVNException
- Throws:
SVNException
-
-