-
Notifications
You must be signed in to change notification settings - Fork 6
svn
- SVN.SVN
- SVN.add
- SVN.checkout
- SVN.cleanup
- SVN.commit
- SVN.delete
- SVN.getClientManager
- SVN.getCommitClient
- SVN.getDiffClient
- SVN.getFile
- SVN.getLogClient
- SVN.getLookClient
- SVN.getURL
- SVN.getUpdateClient
- SVN.getWCClient
- SVN.lock
- SVN.resolve
- SVN.revert
- SVN.unlock
- SVN.update
SVN.SVN(aURL, aUsername, aPassword, aFile, aPort) : SVNCreates a new SVN instance object for the give SVN URL (e.g http://... ; svn://... ; file://... svn+ssh:// ...). To authenticate in the remote SVN (if needed), fFor svn+ssh you can also provide aUsername, aPassword, aFile and aPort; for file only the aUsername will be considered; for http, svn and https only the aUsername and aPassword will be considered.
SVN.add(anArrayOfFilePaths, shouldForce, createParentDirectories)Flags all file paths in anArrayOFilePaths to be added on to the SVN repository on commit. To force the operation you can optionally use shouldForce = true and you can optionally indicate to createParentDirectories.
SVN.checkout(aFilePathDestiny, aRevision) : NumberCheckout a given aFilePathDestiny from the connected repository. The aRevision can be the number of the revision or HEAD, WORKING, PREVIOUS, BASE or COMMITED. Returns the value of the checkout revision.
SVN.cleanup(aFilePath)Executes a SVN cleanup on the provided aFilePath.
SVN.commit(anArrayOfFroms, aCommitMessage, useForce) : ObjectCommits anArrayOfFroms paths on the filesystem with aCommitMessage. If necessary to force commit, in case of conflict, you can use useForce = true. Returns a SVNCommitInfo object.
SVN.delete(anArrayOfFilePaths, forceDelete)Deletes all file paths in anArrayOfFilePaths from the current working copy (including file system level delete). Optionally you can indicate to forceDelete = true.
SVN.getClientManager() : SVNClientManagerReturns a SVNClientManager object.
SVN.getCommitClient() : SVNCommitClientReturns a SVNCommitClient object.
SVN.getDiffClient() : SVNDiffClientReturns a SVNDiffClient object.
SVN.getFile(aFilePath, aRevision) : JavaByteArrayOutputStreamTries to retrieve a file from the provide aFilePath for aRevision (HEAD, WORKING, PREVIOUS, BASE or COMMITTED).
SVN.getLogClient() : SVNLogClientReturns a LogClient object.
SVN.getLookClient() : SVNLookClientReturns a SVNLookClient object.
SVN.getURL() : ObjectReturns the current SVN URL.
SVN.getUpdateClient() : SVNUpdateClientReturns a SVNUpdateClient object.
SVN.getWCClient() : SVNWCClientReturns a WCClient object.
SVN.lock(anArrayOfFilePaths, stealLock, lockMessage)Locks all file paths in anArrayOfFilePaths. Optionally you can stealLock = true and provided a lockMessage.
SVN.resolve(aFilePath, conflictChoice)Resolves a conflict for the provided aFilePath. For the conflictChoice choose one of the available options: Base, Merged, Mine_Conflict, Mine_Full, Postpone, Theirs_Conflict and Theirs_Full.
SVN.revert(anArrayOfFilePaths)Reverts all file paths in anArrayOfFilePaths from the current working copy.
SVN.unlock(anArrayOfFilePaths, breakLock)Unlocks all file paths in anArrayOfFilePaths. Optionally you can indicate to breakLock = true.
SVN.update(anArrayOfFroms, aRevision) : anArrayOfNumbersCommits anArrayOfFroms paths on the filesystem. The aRevision can be the number of the revision or HEAD, WORKING, PREVIOUS, BASE or COMMITED. Returns the value of each update revision.