public class SVNWCContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
CONFLICT_END |
static java.lang.String |
CONFLICT_KIND_OBSTRUCTED |
static java.lang.String |
CONFLICT_KIND_PROP |
static java.lang.String |
CONFLICT_KIND_REJECT |
static java.lang.String |
CONFLICT_KIND_TEXT |
static java.lang.String |
CONFLICT_KIND_TREE |
static java.lang.String |
CONFLICT_LATEST_LABEL |
static java.lang.String |
CONFLICT_LOCAL_LABEL |
static java.lang.String |
CONFLICT_OP_MERGE |
static java.lang.String |
CONFLICT_OP_PATCH |
static java.lang.String |
CONFLICT_OP_SWITCH |
static java.lang.String |
CONFLICT_OP_UPDATE |
static byte[] |
CONFLICT_SEPARATOR |
static byte[] |
CONFLICT_START |
static long |
INVALID_REVNUM |
static java.lang.String |
PROP_REJ_EXT |
static int |
STREAM_CHUNK_SIZE |
static java.lang.String |
THIS_DIR_PREJ |
static java.lang.String |
WC_ADM_ENTRIES |
static java.lang.String |
WC_ADM_FORMAT |
static java.lang.String |
WC_ADM_NONEXISTENT_PATH |
static java.lang.String |
WC_ADM_PRISTINE |
static java.lang.String |
WC_ADM_TMP |
static int |
WC_NG_VERSION |
static java.lang.String |
WC_NON_ENTRIES_STRING |
static int |
WC_WCPROPS_LOST |
static int |
WC_WCPROPS_MANY_FILES_VERSION |
| Constructor and Description |
|---|
SVNWCContext(ISVNOptions config,
ISVNEventHandler eventHandler) |
SVNWCContext(ISVNWCDb.SVNWCDbOpenMode mode,
ISVNOptions config,
boolean autoUpgrade,
boolean enforceEmptyWQ,
ISVNEventHandler eventHandler) |
SVNWCContext(ISVNWCDb db,
ISVNEventHandler eventHandler) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
acquireWriteLock(java.io.File localAbspath,
boolean lockAnchor,
boolean returnLockRoot) |
java.io.File |
acquireWriteLockForResolve(java.io.File localAbsPath) |
void |
addTreeConflict(SVNWCConflictDescription17 conflict) |
void |
canonicalizeURLs(java.io.File path,
SVNExternalsStore externalsStore,
boolean omitDefaultPort) |
void |
checkCancelled() |
SVNWCContext.ObstructionData |
checkForObstructions(java.io.File localAbsPath,
boolean noWcRootCheck) |
static SVNWCContext.CheckSpecialInfo |
checkSpecialPath(java.io.File localAbspath) |
int |
checkWC(java.io.File localAbsPath) |
SVNWCContext.CheckWCRootInfo |
checkWCRoot(java.io.File localAbspath,
boolean fetchSwitched) |
void |
cleanup() |
void |
close() |
java.util.List<SVNWCContext.CommittableExternalInfo> |
committableExternalsBelow(java.util.List<SVNWCContext.CommittableExternalInfo> externals,
java.io.File localAbsPath,
SVNDepth depth) |
boolean |
compareAndVerify(java.io.File localAbsPath,
java.io.File pristineFile,
boolean hasProps,
boolean propMods,
boolean exactComparison) |
SVNSkel |
conflictCreateMarker(SVNSkel conflictSkel,
java.io.File localAbsPath) |
java.io.File |
createPrejFile(java.io.File localAbspath,
SVNSkel conflictSkel) |
void |
cropTree(java.io.File localAbspath,
SVNDepth depth) |
void |
deleteTreeConflict(java.io.File victimAbsPath) |
void |
ensureNoUnfinishedTransactions() |
void |
exclude(java.io.File localAbspath) |
SVNProperties |
getActualProps(java.io.File localAbspath) |
java.lang.String |
getActualTarget(java.io.File path) |
void |
getAndRecordFileInfo(java.io.File localAbspath,
boolean ignoreError) |
java.lang.String |
getCharset(java.io.File path) |
java.util.List<java.io.File> |
getChildrenOfWorkingNode(java.io.File dirAbsPath,
boolean showHidden) |
SVNWCContext.ConflictInfo |
getConflicted(java.io.File localAbsPath,
boolean isTextNeed,
boolean isPropNeed,
boolean isTreeNeed) |
ISVNWCDb |
getDb() |
SVNWCContext.EntryLocationInfo |
getEntryLocation(java.io.File localAbsPath,
SVNRevision pegRevisionKind,
boolean fetchRevnum) |
SVNWCContext.SVNEolStyleInfo |
getEolStyle(java.io.File localAbsPath) |
ISVNEventHandler |
getEventHandler() |
java.util.Map<java.lang.String,byte[]> |
getKeyWords(java.io.File localAbsPath,
java.lang.String forceList) |
ISVNWCDb.WCDbBaseInfo |
getNodeBase(java.io.File localAbsPath,
boolean ignoreNonExisting,
boolean showHidden) |
long |
getNodeBaseRev(java.io.File local_abspath) |
ISVNWCDb.WCDbInfo |
getNodeChangedInfo(java.io.File path) |
java.util.List<java.io.File> |
getNodeChildren(java.io.File dirAbsPath,
boolean showHidden) |
long |
getNodeCommitBaseRev(java.io.File local_abspath) |
SVNWCContext.NodeCopyFromInfo |
getNodeCopyFromInfo(java.io.File localAbsPath,
SVNWCContext.NodeCopyFromField... fields) |
java.io.File |
getNodeDeletedAncestor(java.io.File localAbsPath) |
SVNDepth |
getNodeDepth(java.io.File localAbsPath) |
ISVNWCDb.SVNWCDbLock |
getNodeLock(java.io.File localAbsPath) |
Structure<StructureFields.NodeOriginInfo> |
getNodeOrigin(java.io.File localAbsPath,
boolean scanDeleted,
StructureFields.NodeOriginInfo... fields) |
SVNWCContext.NodePresence |
getNodePresence(java.io.File localAbsPath,
boolean baseOnly) |
SVNWCContext.SVNWCNodeReposInfo |
getNodeReposInfo(java.io.File localAbspath) |
java.io.File |
getNodeReposRelPath(java.io.File localAbsPath) |
SVNWCContext.ScheduleInternalInfo |
getNodeScheduleInternal(java.io.File localAbsPath,
boolean schedule,
boolean copied) |
SVNURL |
getNodeUrl(java.io.File path) |
ISVNOptions |
getOptions() |
SVNWCContext.PristineContentsInfo |
getPristineContents(java.io.File localAbspath,
boolean openStream,
boolean getPath) |
SVNProperties |
getPristineProps(java.io.File localAbspath) |
SVNWCContext.PropDiffs |
getPropDiffs(java.io.File localAbsPath) |
java.lang.String |
getProperty(java.io.File localAbsPath,
java.lang.String name) |
SVNPropertyValue |
getPropertyValue(java.io.File localAbsPath,
java.lang.String name) |
long |
getRevisionNumber(SVNRevision revision,
long[] latestRevisionNumber,
SVNRepository repository,
java.io.File path) |
java.io.File |
getTranslatedFile(java.io.File src,
java.io.File versionedAbspath,
boolean toNormalFormat,
boolean forceEOLRepair,
boolean useGlobalTmp,
boolean forceCopy,
boolean safelyEncode)
When expanding working copy file (which is already expanded, we just have to update EOLs, keywords, etc)
One has to pass safelyEncode argument set to true as for this case we have to carefully update necessary parts of
the file taking its encoding into account.
|
java.io.InputStream |
getTranslatedStream(java.io.File localAbspath,
java.io.File versionedAbspath,
boolean translateToNormalForm,
boolean repairEOL) |
SVNWCContext.TranslateInfo |
getTranslateInfo(java.io.File localAbspath,
boolean fetchEolStyle,
boolean fetchCharset,
boolean fetchKeywords,
boolean fetchSpecial) |
SVNWCContext.TranslateInfo |
getTranslateInfo(java.io.File localAbspath,
SVNProperties props,
boolean forNormalization,
boolean fetchEolStyle,
boolean fetchCharset,
boolean fetchKeywords,
boolean fetchSpecial) |
SVNTreeConflictDescription |
getTreeConflict(java.io.File victimAbspath) |
SVNURL |
getUrlFromPath(java.io.File localAbsPath) |
SVNWCContext.TreeLocalModsInfo |
hasLocalMods(java.io.File localAbspath,
java.io.File anchorAbspath) |
static boolean |
hasMagicProperty(SVNProperties properties) |
void |
initializeWC(java.io.File localAbspath,
SVNURL url,
SVNURL repositoryRoot,
java.lang.String uuid,
long revision,
SVNDepth depth,
int targetWorkingCopyFormat) |
void |
invokeConflictResolver(java.io.File localAbsPath,
SVNSkel conflictSkel,
ISVNConflictHandler conflictHandler,
ISVNCanceller canceller) |
static boolean |
isAdminDirectory(java.lang.String name) |
boolean |
isChangelistMatch(java.io.File localAbsPath,
java.util.Collection<java.lang.String> changelistsSet) |
static boolean |
isErrorAccess(SVNException e) |
boolean |
isFileExternal(java.io.File path) |
boolean |
isNodeAdded(java.io.File path) |
boolean |
isNodeReplaced(java.io.File path)
Equivalent to the old notion of "entry->schedule == schedule_replace"
|
boolean |
isNodeStatusDeleted(java.io.File localAbsPath) |
boolean |
isPropsModified(java.io.File localAbspath) |
boolean |
isSpecial(java.io.File path) |
boolean |
isTextModified(java.io.File localAbsPath,
boolean exactComparison) |
boolean |
matchesChangelist(java.io.File localAbspath,
java.util.Collection<java.lang.String> changelists) |
SVNWCContext.MergeInfo |
merge(SVNSkel workItems,
SVNSkel conflictSkel,
java.io.File leftAbspath,
java.io.File rightAbspath,
java.io.File targetAbspath,
java.io.File wriAbspath,
java.lang.String leftLabel,
java.lang.String rightLabel,
java.lang.String targetLabel,
SVNProperties oldActualProps,
boolean dryRun,
SVNDiffOptions options,
SVNProperties propDiff) |
SVNWCContext.MergePropertiesInfo |
mergeProperties(java.io.File localAbsPath,
SVNConflictVersion leftVersion,
SVNConflictVersion rightVersion,
SVNProperties baseProperties,
SVNProperties propChanges,
boolean dryRun,
ISVNConflictHandler conflictResolver) |
SVNWCContext.MergePropertiesInfo |
mergeProperties2(SVNWCContext.MergePropertiesInfo mergeInfo,
java.io.File localAbsPath,
ISVNWCDb.SVNWCDbKind kind,
SVNConflictVersion leftVersion,
SVNConflictVersion rightVersion,
SVNProperties serverBaseProperties,
SVNProperties pristineProperties,
SVNProperties actualProperties,
SVNProperties propChanges,
boolean baseMerge,
boolean dryRun,
ISVNConflictHandler conflictResolver) |
SVNWCContext.MergePropertiesInfo |
mergeProperties3(SVNWCContext.MergePropertiesInfo mergePropertiesInfo,
java.io.File localAbsPath,
SVNProperties serverBaseProps,
SVNProperties pristineProps,
SVNProperties actualProps,
SVNProperties propChanges) |
SVNWCContext.MergeInfo |
mergeText(java.io.File left,
java.io.File right,
java.io.File target,
java.lang.String leftLabel,
java.lang.String rightLabel,
java.lang.String targetLabel,
SVNConflictVersion leftVersion,
SVNConflictVersion rightVersion,
boolean dryRun,
SVNDiffOptions options,
SVNProperties propDiff) |
void |
nodeWalkChildren(java.io.File localAbspath,
SVNWCContext.ISVNWCNodeHandler nodeHandler,
boolean showHidden,
SVNDepth walkDepth,
java.util.Collection<java.lang.String> changelists) |
SVNWCContext.NodeMovedAway |
nodeWasMovedAway(java.io.File localAbsPath) |
SVNWCContext.NodeMovedHere |
nodeWasMovedHere(java.io.File localAbsPath) |
java.io.File |
obtainAnchorPath(java.io.File localAbspath,
boolean lockAnchor,
boolean returnLockRoot) |
static SVNWCContext.UniqueFileInfo |
openUniqueFile(java.io.File dirPath,
boolean openStream) |
SVNWCContext.WritableBaseInfo |
openWritableBase(java.io.File localAbspath,
boolean md5Checksum,
boolean sha1Checksum) |
void |
popEventHandler() |
void |
pushEventHandler(ISVNEventHandler handler) |
SVNNodeKind |
readKind(java.io.File localAbsPath,
boolean showHidden) |
static java.io.InputStream |
readSpecialFile(java.io.File localAbsPath) |
void |
registerCleanupHandler(SVNWCContext.CleanupHandler ch) |
void |
releaseWriteLock(java.io.File localAbspath) |
void |
removeBaseNode(java.io.File localAbspath) |
void |
removeFromRevisionControl(java.io.File localAbspath,
boolean destroyWf,
boolean instantError) |
boolean |
resolveConflictOnNode(java.io.File localAbsPath,
boolean resolveText,
boolean resolveProps,
SVNConflictChoice conflictChoice) |
void |
resolvedConflict(java.io.File localAbsPath,
SVNDepth depth,
boolean resolveText,
java.lang.String resolveProps,
boolean resolveTree,
SVNConflictChoice conflictChoice) |
org.tmatesoft.svn.core.internal.wc17.SVNWCContext.TextConflictResolutionInfo |
resolveTextConflict(java.io.File localAbsPath,
SVNOperation operation,
java.io.File leftAbsPath,
java.io.File rightAbsPath,
SVNConflictVersion leftVersion,
SVNConflictVersion rightVersion,
java.io.File resultTarget,
java.io.File detranslatedTarget,
ISVNConflictHandler conflictHandler) |
void |
setEventHandler(ISVNEventHandler handler) |
void |
setOperation(SvnOperation<?> operation) |
void |
setSqliteJournalMode(org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode sqliteJournalMode) |
void |
syncFileFlags(java.io.File localAbspath) |
SVNSkel |
wqBuildBaseRemove(java.io.File localAbspath,
boolean keepNotPresent) |
SVNSkel |
wqBuildBaseRemove(java.io.File localAbspath,
long notPresentRevision,
ISVNWCDb.SVNWCDbKind notPresentKind) |
static SVNSkel |
wqBuildBaseRemove(SVNWCDb db,
java.io.File localAbspath,
long notPresentRevision,
ISVNWCDb.SVNWCDbKind notPresentKind) |
SVNSkel |
wqBuildDirInstall(java.io.File localAbsPath) |
static SVNSkel |
wqBuildDirInstall(SVNWCDb db,
java.io.File localAbsPath) |
static SVNSkel |
wqBuildDirRemove(SVNWCDb db,
java.io.File wriAbspath,
java.io.File localAbspath,
boolean recursive) |
SVNSkel |
wqBuildFileCommit(java.io.File localAbspath,
boolean propsMods) |
SVNSkel |
wqBuildFileCopyTranslated(java.io.File localAbspath,
java.io.File srcAbspath,
java.io.File dstAbspath) |
static SVNSkel |
wqBuildFileCopyTranslated(SVNWCDb db,
java.io.File localAbspath,
java.io.File srcAbspath,
java.io.File dstAbspath) |
SVNSkel |
wqBuildFileInstall(java.io.File localAbspath,
java.io.File sourceAbspath,
boolean useCommitTimes,
boolean recordFileinfo) |
static SVNSkel |
wqBuildFileInstall(SVNWCDb db,
java.io.File localAbspath,
java.io.File sourceAbspath,
boolean useCommitTimes,
boolean recordFileinfo) |
SVNSkel |
wqBuildFileMove(java.io.File srcAbspath,
java.io.File dstAbspath) |
SVNSkel |
wqBuildFileMove(java.io.File anchorPath,
java.io.File srcAbspath,
java.io.File dstAbspath) |
SVNSkel |
wqBuildFileRemove(java.io.File wriAbsPath,
java.io.File localAbspath) |
static SVNSkel |
wqBuildFileRemove(SVNWCDb db,
java.io.File wriAbspath,
java.io.File localAbspath) |
SVNSkel |
wqBuildPostUpgrade() |
SVNSkel |
wqBuildPrejInstall(java.io.File localAbspath,
SVNSkel conflictSkel) |
static SVNSkel |
wqBuildPrejInstall(ISVNWCDb db,
java.io.File localAbspath,
SVNSkel conflictSkel) |
SVNSkel |
wqBuildRecordFileinfo(java.io.File localAbspath,
SVNDate setTime) |
SVNSkel |
wqBuildSetPropertyConflictMarkerTemp(java.io.File localAbspath,
java.io.File prejFile) |
SVNSkel |
wqBuildSetTextConflictMarkersTmp(java.io.File localAbspath,
java.io.File old,
java.io.File neo,
java.io.File wrk) |
SVNSkel |
wqBuildSyncFileFlags(java.io.File localAbspath) |
static SVNSkel |
wqBuildSyncFileFlags(SVNWCDb db,
java.io.File localAbspath) |
static SVNSkel |
wqMerge(SVNSkel workItem1,
SVNSkel workItem2) |
void |
wqRun(java.io.File dirAbspath) |
void |
writeCheck(java.io.File localAbspath) |
static void |
writeCheck(ISVNWCDb db,
java.io.File localAbspath) |
public static java.lang.String CONFLICT_OP_UPDATE
public static java.lang.String CONFLICT_OP_SWITCH
public static java.lang.String CONFLICT_OP_MERGE
public static java.lang.String CONFLICT_OP_PATCH
public static java.lang.String CONFLICT_KIND_TEXT
public static java.lang.String CONFLICT_KIND_PROP
public static java.lang.String CONFLICT_KIND_TREE
public static java.lang.String CONFLICT_KIND_REJECT
public static java.lang.String CONFLICT_KIND_OBSTRUCTED
public static final long INVALID_REVNUM
public static final int STREAM_CHUNK_SIZE
public static final java.lang.String THIS_DIR_PREJ
public static final java.lang.String PROP_REJ_EXT
public static final java.lang.String CONFLICT_LOCAL_LABEL
public static final java.lang.String CONFLICT_LATEST_LABEL
public static final byte[] CONFLICT_START
public static final byte[] CONFLICT_END
public static final byte[] CONFLICT_SEPARATOR
public static final int WC_NG_VERSION
public static final int WC_WCPROPS_MANY_FILES_VERSION
public static final int WC_WCPROPS_LOST
public static final java.lang.String WC_ADM_FORMAT
public static final java.lang.String WC_ADM_ENTRIES
public static final java.lang.String WC_ADM_TMP
public static final java.lang.String WC_ADM_PRISTINE
public static final java.lang.String WC_ADM_NONEXISTENT_PATH
public static final java.lang.String WC_NON_ENTRIES_STRING
public SVNWCContext(ISVNOptions config, ISVNEventHandler eventHandler)
public SVNWCContext(ISVNWCDb.SVNWCDbOpenMode mode, ISVNOptions config, boolean autoUpgrade, boolean enforceEmptyWQ, ISVNEventHandler eventHandler)
public SVNWCContext(ISVNWCDb db, ISVNEventHandler eventHandler)
public SVNWCContext.TreeLocalModsInfo hasLocalMods(java.io.File localAbspath, java.io.File anchorAbspath) throws SVNException
SVNExceptionpublic static boolean isAdminDirectory(java.lang.String name)
public void setOperation(SvnOperation<?> operation)
public ISVNEventHandler getEventHandler()
public void pushEventHandler(ISVNEventHandler handler)
public void popEventHandler()
public void setEventHandler(ISVNEventHandler handler)
public void close()
public void registerCleanupHandler(SVNWCContext.CleanupHandler ch)
public void cleanup()
throws SVNException
SVNExceptionpublic ISVNWCDb getDb()
public void checkCancelled()
throws SVNCancelException
SVNCancelExceptionpublic ISVNOptions getOptions()
public SVNNodeKind readKind(java.io.File localAbsPath, boolean showHidden) throws SVNException
SVNExceptionpublic boolean isNodeAdded(java.io.File path)
throws SVNException
SVNExceptionpublic boolean isNodeReplaced(java.io.File path)
throws SVNException
SVNExceptionpublic long getRevisionNumber(SVNRevision revision, long[] latestRevisionNumber, SVNRepository repository, java.io.File path) throws SVNException
SVNExceptionpublic ISVNWCDb.WCDbInfo getNodeChangedInfo(java.io.File path) throws SVNException
SVNExceptionpublic long getNodeCommitBaseRev(java.io.File local_abspath)
throws SVNException
SVNExceptionpublic long getNodeBaseRev(java.io.File local_abspath)
throws SVNException
SVNExceptionpublic SVNWCContext.ScheduleInternalInfo getNodeScheduleInternal(java.io.File localAbsPath, boolean schedule, boolean copied) throws SVNException
SVNExceptionpublic boolean isTextModified(java.io.File localAbsPath,
boolean exactComparison)
throws SVNException
SVNExceptionpublic boolean compareAndVerify(java.io.File localAbsPath,
java.io.File pristineFile,
boolean hasProps,
boolean propMods,
boolean exactComparison)
throws SVNException
SVNExceptionpublic SVNWCContext.PristineContentsInfo getPristineContents(java.io.File localAbspath, boolean openStream, boolean getPath) throws SVNException
SVNExceptionpublic static java.io.InputStream readSpecialFile(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic java.lang.String getCharset(java.io.File path)
throws SVNException
SVNExceptionpublic boolean isSpecial(java.io.File path)
throws SVNException
SVNExceptionpublic SVNWCContext.SVNEolStyleInfo getEolStyle(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic java.util.Map<java.lang.String,byte[]> getKeyWords(java.io.File localAbsPath,
java.lang.String forceList)
throws SVNException
SVNExceptionpublic SVNWCContext.TranslateInfo getTranslateInfo(java.io.File localAbspath, boolean fetchEolStyle, boolean fetchCharset, boolean fetchKeywords, boolean fetchSpecial) throws SVNException
SVNExceptionpublic SVNWCContext.TranslateInfo getTranslateInfo(java.io.File localAbspath, SVNProperties props, boolean forNormalization, boolean fetchEolStyle, boolean fetchCharset, boolean fetchKeywords, boolean fetchSpecial) throws SVNException
SVNExceptionpublic boolean isFileExternal(java.io.File path)
throws SVNException
SVNExceptionpublic SVNURL getNodeUrl(java.io.File path) throws SVNException
SVNExceptionpublic SVNWCContext.ConflictInfo getConflicted(java.io.File localAbsPath, boolean isTextNeed, boolean isPropNeed, boolean isTreeNeed) throws SVNException
SVNExceptionpublic java.lang.String getProperty(java.io.File localAbsPath,
java.lang.String name)
throws SVNException
SVNExceptionpublic SVNPropertyValue getPropertyValue(java.io.File localAbsPath, java.lang.String name) throws SVNException
SVNExceptionpublic SVNURL getUrlFromPath(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic SVNWCContext.EntryLocationInfo getEntryLocation(java.io.File localAbsPath, SVNRevision pegRevisionKind, boolean fetchRevnum) throws SVNException
SVNExceptionpublic SVNWCContext.NodeCopyFromInfo getNodeCopyFromInfo(java.io.File localAbsPath, SVNWCContext.NodeCopyFromField... fields) throws SVNException
SVNExceptionpublic Structure<StructureFields.NodeOriginInfo> getNodeOrigin(java.io.File localAbsPath, boolean scanDeleted, StructureFields.NodeOriginInfo... fields) throws SVNException
SVNExceptionpublic static boolean isErrorAccess(SVNException e)
public boolean isPropsModified(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic void nodeWalkChildren(java.io.File localAbspath,
SVNWCContext.ISVNWCNodeHandler nodeHandler,
boolean showHidden,
SVNDepth walkDepth,
java.util.Collection<java.lang.String> changelists)
throws SVNException
SVNExceptionpublic boolean matchesChangelist(java.io.File localAbspath,
java.util.Collection<java.lang.String> changelists)
public java.io.File acquireWriteLock(java.io.File localAbspath,
boolean lockAnchor,
boolean returnLockRoot)
throws SVNException
SVNExceptionpublic java.io.File obtainAnchorPath(java.io.File localAbspath,
boolean lockAnchor,
boolean returnLockRoot)
throws SVNException
SVNExceptionpublic void releaseWriteLock(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic SVNWCContext.CheckWCRootInfo checkWCRoot(java.io.File localAbspath, boolean fetchSwitched) throws SVNException
SVNExceptionpublic void exclude(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic static SVNWCContext.CheckSpecialInfo checkSpecialPath(java.io.File localAbspath)
public void removeFromRevisionControl(java.io.File localAbspath,
boolean destroyWf,
boolean instantError)
throws SVNException
SVNExceptionpublic void cropTree(java.io.File localAbspath,
SVNDepth depth)
throws SVNException
SVNExceptionpublic SVNWCContext.SVNWCNodeReposInfo getNodeReposInfo(java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNTreeConflictDescription getTreeConflict(java.io.File victimAbspath) throws SVNException
SVNExceptionpublic void writeCheck(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic static void writeCheck(ISVNWCDb db, java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNProperties getPristineProps(java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNProperties getActualProps(java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNWCContext.MergePropertiesInfo mergeProperties(java.io.File localAbsPath, SVNConflictVersion leftVersion, SVNConflictVersion rightVersion, SVNProperties baseProperties, SVNProperties propChanges, boolean dryRun, ISVNConflictHandler conflictResolver) throws SVNException
SVNExceptionpublic SVNWCContext.MergePropertiesInfo mergeProperties2(SVNWCContext.MergePropertiesInfo mergeInfo, java.io.File localAbsPath, ISVNWCDb.SVNWCDbKind kind, SVNConflictVersion leftVersion, SVNConflictVersion rightVersion, SVNProperties serverBaseProperties, SVNProperties pristineProperties, SVNProperties actualProperties, SVNProperties propChanges, boolean baseMerge, boolean dryRun, ISVNConflictHandler conflictResolver) throws SVNException
SVNExceptionpublic SVNWCContext.MergePropertiesInfo mergeProperties3(SVNWCContext.MergePropertiesInfo mergePropertiesInfo, java.io.File localAbsPath, SVNProperties serverBaseProps, SVNProperties pristineProps, SVNProperties actualProps, SVNProperties propChanges) throws SVNException
SVNExceptionpublic SVNWCContext.WritableBaseInfo openWritableBase(java.io.File localAbspath, boolean md5Checksum, boolean sha1Checksum) throws SVNException
SVNExceptionpublic static boolean hasMagicProperty(SVNProperties properties)
public java.io.InputStream getTranslatedStream(java.io.File localAbspath,
java.io.File versionedAbspath,
boolean translateToNormalForm,
boolean repairEOL)
throws SVNException
SVNExceptionpublic java.io.File getTranslatedFile(java.io.File src,
java.io.File versionedAbspath,
boolean toNormalFormat,
boolean forceEOLRepair,
boolean useGlobalTmp,
boolean forceCopy,
boolean safelyEncode)
throws SVNException
src - versionedAbspath - toNormalFormat - forceEOLRepair - useGlobalTmp - forceCopy - safelyEncode - SVNExceptionpublic SVNWCContext.MergeInfo mergeText(java.io.File left, java.io.File right, java.io.File target, java.lang.String leftLabel, java.lang.String rightLabel, java.lang.String targetLabel, SVNConflictVersion leftVersion, SVNConflictVersion rightVersion, boolean dryRun, SVNDiffOptions options, SVNProperties propDiff) throws SVNException
SVNExceptionpublic SVNWCContext.MergeInfo merge(SVNSkel workItems, SVNSkel conflictSkel, java.io.File leftAbspath, java.io.File rightAbspath, java.io.File targetAbspath, java.io.File wriAbspath, java.lang.String leftLabel, java.lang.String rightLabel, java.lang.String targetLabel, SVNProperties oldActualProps, boolean dryRun, SVNDiffOptions options, SVNProperties propDiff) throws SVNException
SVNExceptionpublic static SVNWCContext.UniqueFileInfo openUniqueFile(java.io.File dirPath, boolean openStream) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileMove(java.io.File srcAbspath, java.io.File dstAbspath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileMove(java.io.File anchorPath, java.io.File srcAbspath, java.io.File dstAbspath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileCopyTranslated(java.io.File localAbspath, java.io.File srcAbspath, java.io.File dstAbspath) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildFileCopyTranslated(SVNWCDb db, java.io.File localAbspath, java.io.File srcAbspath, java.io.File dstAbspath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildSetTextConflictMarkersTmp(java.io.File localAbspath, java.io.File old, java.io.File neo, java.io.File wrk) throws SVNException
SVNExceptionpublic SVNSkel wqBuildBaseRemove(java.io.File localAbspath, boolean keepNotPresent) throws SVNException
SVNExceptionpublic SVNSkel wqBuildBaseRemove(java.io.File localAbspath, long notPresentRevision, ISVNWCDb.SVNWCDbKind notPresentKind) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildBaseRemove(SVNWCDb db, java.io.File localAbspath, long notPresentRevision, ISVNWCDb.SVNWCDbKind notPresentKind) throws SVNException
SVNExceptionpublic SVNSkel wqBuildRecordFileinfo(java.io.File localAbspath, SVNDate setTime) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileInstall(java.io.File localAbspath, java.io.File sourceAbspath, boolean useCommitTimes, boolean recordFileinfo) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildFileInstall(SVNWCDb db, java.io.File localAbspath, java.io.File sourceAbspath, boolean useCommitTimes, boolean recordFileinfo) throws SVNException
SVNExceptionpublic SVNSkel wqBuildSyncFileFlags(java.io.File localAbspath) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildSyncFileFlags(SVNWCDb db, java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileRemove(java.io.File wriAbsPath, java.io.File localAbspath) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildFileRemove(SVNWCDb db, java.io.File wriAbspath, java.io.File localAbspath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildDirInstall(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildDirInstall(SVNWCDb db, java.io.File localAbsPath) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildDirRemove(SVNWCDb db, java.io.File wriAbspath, java.io.File localAbspath, boolean recursive) throws SVNException
SVNExceptionpublic SVNSkel wqBuildPrejInstall(java.io.File localAbspath, SVNSkel conflictSkel) throws SVNException
SVNExceptionpublic static SVNSkel wqBuildPrejInstall(ISVNWCDb db, java.io.File localAbspath, SVNSkel conflictSkel) throws SVNException
SVNExceptionpublic SVNSkel wqBuildSetPropertyConflictMarkerTemp(java.io.File localAbspath, java.io.File prejFile) throws SVNException
SVNExceptionpublic SVNSkel wqBuildPostUpgrade() throws SVNException
SVNExceptionpublic static SVNSkel wqMerge(SVNSkel workItem1, SVNSkel workItem2) throws SVNException
SVNExceptionpublic void wqRun(java.io.File dirAbspath)
throws SVNException
SVNExceptionpublic void removeBaseNode(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic void getAndRecordFileInfo(java.io.File localAbspath,
boolean ignoreError)
throws SVNException
SVNExceptionpublic void syncFileFlags(java.io.File localAbspath)
throws SVNException
SVNExceptionpublic java.io.File createPrejFile(java.io.File localAbspath,
SVNSkel conflictSkel)
throws SVNException
SVNExceptionpublic boolean resolveConflictOnNode(java.io.File localAbsPath,
boolean resolveText,
boolean resolveProps,
SVNConflictChoice conflictChoice)
throws SVNException
SVNExceptionpublic void resolvedConflict(java.io.File localAbsPath,
SVNDepth depth,
boolean resolveText,
java.lang.String resolveProps,
boolean resolveTree,
SVNConflictChoice conflictChoice)
throws SVNException
SVNExceptionpublic int checkWC(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic void initializeWC(java.io.File localAbspath,
SVNURL url,
SVNURL repositoryRoot,
java.lang.String uuid,
long revision,
SVNDepth depth,
int targetWorkingCopyFormat)
throws SVNException
SVNExceptionpublic java.lang.String getActualTarget(java.io.File path)
throws SVNException
SVNExceptionpublic java.io.File getNodeReposRelPath(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic boolean isChangelistMatch(java.io.File localAbsPath,
java.util.Collection<java.lang.String> changelistsSet)
public boolean isNodeStatusDeleted(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic SVNWCContext.PropDiffs getPropDiffs(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic ISVNWCDb.SVNWCDbLock getNodeLock(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic java.util.List<java.io.File> getNodeChildren(java.io.File dirAbsPath,
boolean showHidden)
throws SVNException
SVNExceptionpublic java.util.List<java.io.File> getChildrenOfWorkingNode(java.io.File dirAbsPath,
boolean showHidden)
throws SVNException
SVNExceptionpublic SVNDepth getNodeDepth(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic SVNSkel wqBuildFileCommit(java.io.File localAbspath, boolean propsMods) throws SVNException
SVNExceptionpublic void ensureNoUnfinishedTransactions()
throws SVNException
SVNExceptionpublic void canonicalizeURLs(java.io.File path,
SVNExternalsStore externalsStore,
boolean omitDefaultPort)
throws SVNException
SVNExceptionpublic void setSqliteJournalMode(org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode sqliteJournalMode)
public SVNSkel conflictCreateMarker(SVNSkel conflictSkel, java.io.File localAbsPath) throws SVNException
SVNExceptionpublic void invokeConflictResolver(java.io.File localAbsPath,
SVNSkel conflictSkel,
ISVNConflictHandler conflictHandler,
ISVNCanceller canceller)
throws SVNException
SVNExceptionpublic org.tmatesoft.svn.core.internal.wc17.SVNWCContext.TextConflictResolutionInfo resolveTextConflict(java.io.File localAbsPath,
SVNOperation operation,
java.io.File leftAbsPath,
java.io.File rightAbsPath,
SVNConflictVersion leftVersion,
SVNConflictVersion rightVersion,
java.io.File resultTarget,
java.io.File detranslatedTarget,
ISVNConflictHandler conflictHandler)
throws SVNException
SVNExceptionpublic ISVNWCDb.WCDbBaseInfo getNodeBase(java.io.File localAbsPath, boolean ignoreNonExisting, boolean showHidden) throws SVNException
SVNExceptionpublic java.io.File acquireWriteLockForResolve(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic SVNWCContext.NodePresence getNodePresence(java.io.File localAbsPath, boolean baseOnly) throws SVNException
SVNExceptionpublic java.util.List<SVNWCContext.CommittableExternalInfo> committableExternalsBelow(java.util.List<SVNWCContext.CommittableExternalInfo> externals, java.io.File localAbsPath, SVNDepth depth) throws SVNException
SVNExceptionpublic SVNWCContext.NodeMovedHere nodeWasMovedHere(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic SVNWCContext.NodeMovedAway nodeWasMovedAway(java.io.File localAbsPath) throws SVNException
SVNExceptionpublic java.io.File getNodeDeletedAncestor(java.io.File localAbsPath)
throws SVNException
SVNExceptionpublic SVNWCContext.ObstructionData checkForObstructions(java.io.File localAbsPath, boolean noWcRootCheck) throws SVNException
SVNExceptionpublic void deleteTreeConflict(java.io.File victimAbsPath)
throws SVNException
SVNExceptionpublic void addTreeConflict(SVNWCConflictDescription17 conflict) throws SVNException
SVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.