Package | Description |
---|---|
org.tmatesoft.svn.core.internal.wc | |
org.tmatesoft.svn.core.internal.wc.admin | |
org.tmatesoft.svn.core.internal.wc.patch | |
org.tmatesoft.svn.core.internal.wc16 | |
org.tmatesoft.svn.core.internal.wc17 | |
org.tmatesoft.svn.core.wc |
This package provides a high-level API for managing Working Copies in a way
compatible with the native SVN command line client.
|
Modifier and Type | Field and Description |
---|---|
protected SVNAdminArea |
SVNRemoteDiffEditor.myAdminArea |
Modifier and Type | Method and Description |
---|---|
protected SVNAdminArea |
AbstractDiffCallback.getAdminArea() |
protected SVNAdminArea |
SVNStatusEditor.getAnchor() |
protected SVNAdminArea |
SVNRemoteDiffEditor.retrieve(File path,
boolean lenient) |
protected SVNAdminArea |
SVNMergeCallback.retrieve(File path,
boolean lenient) |
protected SVNAdminArea |
SVNRemoteDiffEditor.retrieveParent(File path,
boolean lenient) |
Modifier and Type | Method and Description |
---|---|
static void |
SVNWCManager.add(File path,
SVNAdminArea parentDir,
SVNURL copyFromURL,
long copyFromRev,
SVNDepth depth) |
static void |
SVNWCManager.add(File path,
SVNAdminArea parentDir,
SVNURL copyFromURL,
SVNRevision copyFromRev,
SVNDepth depth) |
static void |
SVNWCManager.addProperties(SVNAdminArea dir,
String fileName,
SVNProperties properties,
boolean base,
SVNLog log) |
static void |
SVNWCManager.addRepositoryFile(SVNAdminArea dir,
String fileName,
File text,
File textBase,
SVNProperties baseProperties,
SVNProperties properties,
String copyFromURL,
long copyFromRev) |
protected boolean |
SVNMergeCallback.areFilesTheSame(File older,
SVNProperties originalProps,
File mine,
SVNAdminArea adminArea) |
protected SVNStatus |
SVNStatusEditor.assembleStatus(File file,
SVNAdminArea dir,
SVNEntry entry,
SVNEntry parentEntry,
SVNNodeKind fileKind,
boolean special,
boolean reportAll,
boolean isIgnored) |
static SVNStatus |
SVNStatusUtil.assembleStatus(File file,
SVNAdminArea dir,
SVNEntry entry,
SVNEntry parentEntry,
SVNNodeKind fileKind,
boolean special,
boolean reportAll,
boolean isIgnored,
Map repositoryLocks,
SVNURL reposRoot,
SVNWCAccess wcAccess) |
void |
SVNUpdateEditor15.cleanup(SVNAdminArea area) |
void |
SVNUpdateEditor.cleanup(SVNAdminArea area) |
protected File |
SVNRemoteDiffEditor.createTempFile(SVNAdminArea dir,
String name) |
static File |
SVNAdminUtil.createTmpFile(SVNAdminArea adminArea)
Creates "tempfile[.n].tmp" in admin area's /tmp dir
|
static File |
SVNAdminUtil.createTmpFile(SVNAdminArea adminArea,
String prefix,
String suffix,
boolean tmp) |
static void |
SVNWCManager.delete(SVNWCAccess wcAccess,
SVNAdminArea root,
File path,
boolean deleteFiles,
boolean cancellable) |
protected void |
SVNRemoteDiffEditor.deleteEntry(String path,
SVNNodeKind nodeKind,
SVNAdminArea dir) |
static void |
SVNPropertiesManager.deleteWCProperties(SVNAdminArea dir,
String name,
boolean recursive) |
protected void |
SVNMergeDriver.doDirectoryMerge(Map resultCatalog,
SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
SVNEntry parentEntry,
SVNAdminArea adminArea,
SVNDepth depth) |
protected void |
SVNMergeDriver.doDirectoryMerge(SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
SVNEntry parentEntry,
SVNAdminArea adminArea,
SVNDepth depth)
Deprecated.
|
static void |
SVNWCManager.doEraseFromWC(File path,
SVNAdminArea dir,
SVNNodeKind kind,
boolean deleteFiles) |
protected void |
SVNMergeDriver.doFileMerge(Map resultCatalog,
SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
File targetWCPath,
SVNAdminArea adminArea,
boolean sourcesRelated) |
protected void |
SVNMergeDriver.doFileMerge(SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
File targetWCPath,
SVNAdminArea adminArea,
boolean sourcesRelated)
Deprecated.
|
protected void |
SVNMergeDriver.doMerge(Map resultCatalog,
List mergeSources,
File target,
SVNEntry targetEntry,
SVNAdminArea adminArea,
boolean sourcesAncestral,
boolean sourcesRelated,
boolean sameRepository,
boolean ignoreAncestry,
boolean force,
boolean dryRun,
boolean recordOnly,
boolean reintegrateMerge,
SVNDepth depth) |
protected void |
SVNMergeDriver.doMergeInfoUnawareDirectoryMerge(SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
SVNAdminArea adminArea,
SVNDepth depth) |
ISVNReusableEditor |
SVNMergeDriver.driveMergeReportEditor(File targetWCPath,
SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
List childrenWithMergeInfo,
boolean isRollBack,
SVNDepth depth,
SVNAdminArea adminArea,
SVNMergeCallback mergeCallback,
ISVNReusableEditor editor) |
ISVNReusableEditor |
ISVNMergeStrategy.driveMergeReportEditor(File targetWCPath,
SVNURL url1,
long revision1,
SVNURL url2,
long revision2,
List childrenWithMergeInfo,
boolean isRollBack,
SVNDepth depth,
SVNAdminArea adminArea,
SVNMergeCallback mergeCallback,
ISVNReusableEditor editor) |
protected void |
SVNStatusEditor.getDirStatus(SVNEntry parentEntry,
SVNAdminArea dir,
String entryName,
SVNDepth depth,
boolean getAll,
boolean noIgnore,
Collection ignorePatterns,
boolean skipThisDir,
ISVNStatusHandler handler) |
static Collection |
SVNStatusEditor.getIgnorePatterns(SVNAdminArea dir,
Collection globalIgnores) |
ISVNReusableEditor |
SVNMergeDriver.getMergeReportEditor(long defaultStart,
long revision,
SVNAdminArea adminArea,
SVNDepth depth,
AbstractDiffCallback mergeCallback,
ISVNReusableEditor editor) |
ISVNReusableEditor |
ISVNMergeStrategy.getMergeReportEditor(long defaultStart,
long revision,
SVNAdminArea adminArea,
SVNDepth depth,
AbstractDiffCallback mergeCallback,
ISVNReusableEditor editor) |
static void |
SVNCommitUtil.harvestCommitables(Map commitables,
SVNAdminArea dir,
File path,
SVNEntry parentEntry,
SVNEntry entry,
String url,
String copyFromURL,
boolean copyMode,
boolean addsOnly,
boolean justLocked,
Map lockTokens,
SVNDepth depth,
boolean forcedRecursion,
Collection changelists,
ISVNCommitParameters params,
Map pathsToExternalsProperties) |
static void |
SVNWCManager.markEntry(SVNAdminArea dir,
SVNEntry entry,
String schedule,
boolean copied,
boolean keepLocal,
int flags) |
static void |
SVNWCManager.markTree(SVNAdminArea dir,
String schedule,
boolean copied,
boolean keepLocal,
int flags) |
static void |
SVNWCManager.markTreeCancellable(SVNAdminArea dir,
String schedule,
boolean copied,
boolean keepLocal,
int flags) |
SVNMergeResult |
DefaultSVNMerger.mergeProperties(String localPath,
SVNProperties workingProperties,
SVNProperties baseProperties,
SVNProperties serverBaseProps,
SVNProperties propDiff,
SVNAdminArea adminArea,
SVNLog log,
boolean baseMerge,
boolean dryRun) |
protected void |
SVNMergeDriver.recordTreeConflict(File victim,
SVNAdminArea adminArea,
SVNNodeKind kind,
SVNConflictAction action,
SVNConflictReason reason) |
protected void |
SVNMergeDriver.recordTreeConflictOnAdd(File victim,
SVNAdminArea adminArea,
SVNNodeKind kind,
SVNConflictAction action,
SVNConflictReason reason) |
boolean |
SVNUpdateEditor.treeHasLocalModifications(SVNAdminArea adminArea,
boolean[] allModsAreDeletes) |
Constructor and Description |
---|
AbstractDiffCallback(SVNAdminArea adminArea) |
SVNDiffCallback(SVNAdminArea adminArea,
ISVNDiffGenerator generator,
long rev1,
long rev2,
OutputStream result) |
SVNMergeCallback(SVNAdminArea adminArea,
SVNURL url,
boolean force,
boolean dryRun,
SVNDiffOptions options,
Map conflictedPathsGetter,
SVNMergeDriver mergeDriver) |
SVNMergeCallback15(SVNAdminArea adminArea,
SVNURL url,
boolean force,
boolean dryRun,
SVNDiffOptions options,
Map conflictedPathsGetter,
SVNMergeDriver mergeDriver) |
SVNRemoteDiffEditor(SVNAdminArea adminArea,
File target,
AbstractDiffCallback callback,
SVNRepository repos,
long revision1,
long revision2,
boolean dryRun,
ISVNEventHandler handler,
ISVNEventHandler cancelHandler) |
Modifier and Type | Class and Description |
---|---|
class |
SVNAdminArea14 |
class |
SVNAdminArea15 |
class |
SVNAdminArea16 |
class |
SVNXMLAdminArea |
Modifier and Type | Field and Description |
---|---|
protected SVNAdminArea |
SVNLog.myAdminArea |
Modifier and Type | Method and Description |
---|---|
static SVNAdminArea |
SVNAdminAreaFactory.changeWCFormat(SVNAdminArea adminArea,
int format) |
protected SVNAdminArea |
SVNAdminArea15.createAdminAreaForDir(File dir) |
protected SVNAdminArea |
SVNAdminArea14.createAdminAreaForDir(File dir) |
SVNAdminArea |
SVNXMLAdminArea.createVersionedDirectory(File dir,
String url,
String rootURL,
String uuid,
long revNumber,
boolean createMyself,
SVNDepth depth) |
SVNAdminArea |
SVNAdminArea14.createVersionedDirectory(File dir,
String url,
String rootURL,
String uuid,
long revNumber,
boolean createMyself,
SVNDepth depth) |
abstract SVNAdminArea |
SVNAdminArea.createVersionedDirectory(File dir,
String url,
String rootURL,
String uuid,
long revNumber,
boolean createMyself,
SVNDepth depth) |
protected SVNAdminArea |
SVNAdminArea16Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNXMLAdminAreaFactory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNAdminArea15Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNAdminArea14Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected abstract SVNAdminArea |
SVNAdminAreaFactory.doChangeWCFormat(SVNAdminArea area) |
protected SVNAdminArea |
SVNAdminArea16Factory.doOpen(File path,
int version) |
protected SVNAdminArea |
SVNXMLAdminAreaFactory.doOpen(File path,
int version) |
protected SVNAdminArea |
SVNAdminArea15Factory.doOpen(File path,
int version) |
protected SVNAdminArea |
SVNAdminArea14Factory.doOpen(File path,
int version) |
protected abstract SVNAdminArea |
SVNAdminAreaFactory.doOpen(File path,
int version) |
SVNAdminArea |
SVNAdminArea.formatWC(SVNAdminArea adminArea) |
abstract SVNAdminArea |
SVNEntry.getAdminArea() |
SVNAdminArea |
SVNEntry16.getAdminArea() |
SVNAdminArea |
SVNWCAccess.getAdminArea(File path) |
SVNAdminArea[] |
SVNWCAccess.getAdminAreas() |
SVNAdminArea |
SVNAdminAreaInfo.getAnchor() |
SVNAdminArea |
SVNAdminAreaInfo.getTarget() |
SVNAdminArea |
SVNWCAccess.open(File path,
boolean writeLock,
boolean stealLock,
boolean upgradeFormat,
int depth,
Level logLevel) |
SVNAdminArea |
SVNWCAccess.open(File path,
boolean writeLock,
boolean stealLock,
int depth) |
SVNAdminArea |
SVNWCAccess.open(File path,
boolean writeLock,
int depth) |
static SVNAdminArea |
SVNAdminAreaFactory.open(File path,
Level logLevel) |
SVNAdminArea |
SVNWCAccess.probeOpen(File path,
boolean writeLock,
int depth) |
SVNAdminArea |
SVNWCAccess.probeOpen(File path,
boolean writeLock,
int depth,
Level logLevel) |
SVNAdminArea |
SVNWCAccess.probeRetrieve(File path) |
SVNAdminArea |
SVNWCAccess.probeTry(File path,
boolean writeLock,
int depth) |
SVNAdminArea |
SVNWCAccess.retrieve(File path) |
SVNAdminArea |
SVNWCAccess.upgrade(File path)
Ugrades SVNAdminArea associated with the path and cached in this SVNWCAccess instance.
|
static SVNAdminArea |
SVNAdminAreaFactory.upgrade(SVNAdminArea area) |
Modifier and Type | Method and Description |
---|---|
static SVNAdminArea |
SVNAdminAreaFactory.changeWCFormat(SVNAdminArea adminArea,
int format) |
void |
ISVNCleanupHandler.cleanup(SVNAdminArea area) |
SVNMergeCallback |
SVNWCAccess.createMergeCallback(SVNMergeDriver mergeDriver,
SVNAdminArea adminArea,
SVNURL url,
SVNDiffOptions mergeOptions,
Map conflictedPaths,
boolean force,
boolean dryRun) |
static File |
SVNTranslator.detranslateWorkingCopy(SVNAdminArea dir,
String name,
SVNProperties propDiff,
boolean force) |
protected SVNAdminArea |
SVNAdminArea16Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNXMLAdminAreaFactory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNAdminArea15Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected SVNAdminArea |
SVNAdminArea14Factory.doChangeWCFormat(SVNAdminArea adminArea) |
protected abstract SVNAdminArea |
SVNAdminAreaFactory.doChangeWCFormat(SVNAdminArea area) |
SVNAdminArea |
SVNAdminArea.formatWC(SVNAdminArea adminArea) |
String |
SVNAdminArea.getRelativePath(SVNAdminArea anchor) |
static File |
SVNTranslator.getTranslatedFile(SVNAdminArea dir,
String name,
File src,
boolean forceEOLRepair,
boolean useGlobalTmp,
boolean forceCopy,
boolean toNormalFormat) |
static InputStream |
SVNTranslator.getTranslatedStream(SVNAdminArea adminArea,
String name,
boolean translateToNormalForm,
boolean repairEOL) |
void |
SVNLogRunner.logCompleted(SVNAdminArea adminArea) |
void |
SVNLogRunner.logFailed(SVNAdminArea adminArea) |
void |
SVNLog.logRemoveRevertFile(String name,
SVNAdminArea adminArea,
boolean isProp) |
void |
SVNLogRunner.logStarted(SVNAdminArea adminArea) |
static File |
SVNTranslator.maybeUpdateTargetEOLs(SVNAdminArea dir,
File target,
SVNProperties propDiff) |
void |
SVNWCAccess.registerCleanupHandler(SVNAdminArea area,
ISVNCleanupHandler handler) |
void |
SVNLogRunner.runCommand(SVNAdminArea adminArea,
String name,
SVNProperties attributes,
int count) |
void |
SVNAdminAreaInfo.setAnchor(SVNAdminArea anchor)
This method has been added to give an ability to replace
read-only areas with write enabled ones.
|
void |
SVNAdminAreaInfo.setTarget(SVNAdminArea target)
This method has been added to give an ability to replace
read-only areas with write enabled ones.
|
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
File src,
File dst,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
File src,
File dst,
boolean safelyEncode,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
File src,
File dst,
String customEOLStyle,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
File src,
File dst,
String customEOLStyle,
boolean safelyEncode,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
String srcPath,
String dstPath,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
String srcPath,
String dstPath,
boolean safelyEncode,
boolean expand) |
static void |
SVNTranslator.translate(SVNAdminArea adminArea,
String name,
String srcPath,
String dstPath,
String customEOLStyle,
boolean expand) |
static SVNAdminArea |
SVNAdminAreaFactory.upgrade(SVNAdminArea area) |
Constructor and Description |
---|
SVNAdminAreaInfo(SVNWCAccess access,
SVNAdminArea anchor,
SVNAdminArea target,
String targetName) |
SVNEntry16(Map attributes,
SVNAdminArea adminArea,
String name) |
SVNEntry16(SVNAdminArea adminArea,
String name) |
SVNLog(SVNAdminArea adminArea) |
SVNLogImpl(File logFile,
File tmpFile,
SVNAdminArea adminArea) |
Modifier and Type | Method and Description |
---|---|
static SVNPatchTarget |
SVNPatchTarget.applyPatch(SVNPatch patch,
File absWCPath,
int stripCount,
SVNAdminArea wc)
Apply a PATCH to a working copy at ABS_WC_PATH.
|
static SVNPatchTarget |
SVNPatchTarget.initPatchTarget(SVNPatch patch,
File baseDir,
int stripCount,
SVNAdminArea wc)
Attempt to initialize a patch TARGET structure for a target file
described by PATCH.
|
void |
SVNPatchTarget.installPatchedTarget(File absWCPath,
boolean dryRun,
SVNAdminArea wc)
Install a patched TARGET into the working copy at ABS_WC_PATH.
|
void |
SVNPatchTarget.sendPatchNotification(SVNAdminArea wc)
Use client context CTX to send a suitable notification for a patch
TARGET.
|
Modifier and Type | Method and Description |
---|---|
protected SVNRepository |
SVNBasicDelegate.createRepository(SVNURL url,
File path,
SVNAdminArea area,
SVNRevision pegRevision,
SVNRevision revision,
long[] pegRev) |
SVNURL |
SVNBasicDelegate.getReposRoot(File path,
SVNURL url,
SVNRevision pegRevision,
SVNAdminArea adminArea,
SVNWCAccess access)
Returns the root of the repository.
|
Modifier and Type | Method and Description |
---|---|
SVNAdminArea |
SVNEntry17.getAdminArea() |
Modifier and Type | Method and Description |
---|---|
SVNMergeResult |
DefaultSvnMerger.mergeProperties(String localPath,
SVNProperties workingProperties,
SVNProperties baseProperties,
SVNProperties serverBaseProps,
SVNProperties propDiff,
SVNAdminArea adminArea,
SVNLog log,
boolean baseMerge,
boolean dryRun) |
Modifier and Type | Method and Description |
---|---|
SVNAdminArea |
SVNMergeFileSet.getAdminArea()
Returns the admin area which controls the file.
|
Modifier and Type | Method and Description |
---|---|
SVNURL |
SVNBasicClient.getReposRoot(File path,
SVNURL url,
SVNRevision pegRevision,
SVNAdminArea adminArea,
SVNWCAccess access)
Deprecated.
|
SVNMergeResult |
ISVNMerger.mergeProperties(String localPath,
SVNProperties workingProperties,
SVNProperties baseProperties,
SVNProperties serverBaseProps,
SVNProperties propDiff,
SVNAdminArea adminArea,
SVNLog log,
boolean baseMerge,
boolean dryRun)
Given
adminArea /localPath and property changes (propDiff ) based
on serverBaseProps , merges the changes into the working copy. |
Constructor and Description |
---|
SVNMergeFileSet(SVNAdminArea adminArea,
SVNLog log,
File baseFile,
File localFile,
String wcPath,
File reposFile,
File resultFile,
File copyFromFile,
String mimeType)
Creates a new
SVNMergeFileSet object given the data prepared for
merging a file. |
Copyright © 2022. All rights reserved.