public class SubversionWorkspaceSelector extends Object implements org.tmatesoft.svn.core.internal.wc.admin.ISVNAdminAreaFactorySelector
ISVNAdminAreaFactorySelector that uses 1.4 compatible workspace for new check out,
but still supports 1.5 workspace, if asked to work with it.
Since there are many tools out there that still don't support Subversion 1.5 (including all the major Unix distributions that haven't bundled Subversion 1.5), using 1.4 as the default would reduce the likelihood of the user running into "this SVN client can't work with this workspace version..." problem when using other SVN tools.
The primary scenario of this is the use of command-line SVN client, either from shell script, Ant, or Maven.
| Modifier and Type | Field and Description |
|---|---|
static int |
workingCopyFormat14 |
static int |
workingCopyFormat15 |
static int |
workingCopyFormat16 |
static int |
workingCopyFormat17 |
static int |
workingCopyFormat18 |
static int |
workspaceFormat |
| Constructor and Description |
|---|
SubversionWorkspaceSelector() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getEnabledFactories(File path,
Collection factories,
boolean writeAccess)
getEnabledFactories(File, Collection, boolean) method is called quite a few times
during a Subversion operation, so consulting this value back with master each time is not practical
performance wise. |
static void |
syncWorkspaceFormatFromMaster() |
public static volatile int workingCopyFormat14
public static volatile int workingCopyFormat15
public static volatile int workingCopyFormat16
public static volatile int workingCopyFormat17
public static volatile int workingCopyFormat18
public static volatile int workspaceFormat
public Collection getEnabledFactories(File path, Collection factories, boolean writeAccess) throws org.tmatesoft.svn.core.SVNException
getEnabledFactories(File, Collection, boolean) method is called quite a few times
during a Subversion operation, so consulting this value back with master each time is not practical
performance wise. Therefore, we have SubversionSCM set this value, even though it's error prone.getEnabledFactories in interface org.tmatesoft.svn.core.internal.wc.admin.ISVNAdminAreaFactorySelectororg.tmatesoft.svn.core.SVNExceptionpublic static void syncWorkspaceFormatFromMaster()
Copyright © 2004-2015 Hudson. All Rights Reserved.