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 interfaceSvnNgUpgradeSDb.Bumpableprivate static classSvnNgUpgradeSDb.bumpTo20private static classSvnNgUpgradeSDb.bumpTo21private static classSvnNgUpgradeSDb.bumpTo22private static classSvnNgUpgradeSDb.bumpTo23private static classSvnNgUpgradeSDb.bumpTo24private static classSvnNgUpgradeSDb.bumpTo25private static classSvnNgUpgradeSDb.bumpTo26private static classSvnNgUpgradeSDb.bumpTo27private static classSvnNgUpgradeSDb.bumpTo28private static classSvnNgUpgradeSDb.bumpTo29private static classSvnNgUpgradeSDb.bumpTo30private static classSvnNgUpgradeSDb.bumpTo31private static classSvnNgUpgradeSDb.UpdateChecksum
-
Field Summary
Fields Modifier and Type Field Description private static intPRISTINE_BASENAME_OLD_LENprivate static java.lang.StringPRISTINE_STORAGE_EXT
-
Constructor Summary
Constructors Constructor Description SvnNgUpgradeSDb()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidmigrateSingleTreeConflictData(SVNSqlJetDb sDb, java.lang.String treeConflictData, long wcId, java.io.File localRelPath)private static voidmigrateTreeConflictData(SVNSqlJetDb sDb)private static voidrunBump(SVNWCDb db, SVNSqlJetDb sDb, java.io.File wcRootAbsPath, SvnNgUpgradeSDb.Bumpable bump)static voidsetVersion(SVNSqlJetDb sDb, int version)static intupgrade(java.io.File wcRootAbsPath, SVNWCDb db, SVNSqlJetDb sDb, int startFormat, ISVNEventHandler eventHandler)private static voidupgradeExternals(SVNSqlJetDb sDb, java.io.File wcRootAbsPath)private static java.lang.StringversionStringFromFormat(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
-
-