public interface AQVersionControl
An object implementing this interface is available to aquascript via aqua.vcs alias.
Modifier and Type | Method and Description |
---|---|
AQWorkspace |
checkoutCVS(String folder,
String url,
String module,
String revision,
Object username,
Object password,
boolean verbose)
Checks out a CVS module to the local filesystem.
|
AQWorkspace |
checkoutSubversion(String folder,
String url,
String revision,
Object username,
Object password,
boolean verbose)
Checks out a Subversion module to the local filesystem.
|
void |
commit(String path,
String comment,
Object username,
Object password)
A convenience method which performs a version control commit of a specified file or folder
in the local file system.
|
AQWorkspace |
getWorkspaceSubversion(String path)
Returns the parent workspace of the specified file.
|
AQGit |
newGit()
Returns an unconnected GIT object.
|
AQPerforce |
newPerforce()
Returns an unconnected Perforce object.
|
AQWorkspace |
newWorkspaceCVS()
Returns a CVS workspace object for the purpose of checking out a working copy.
|
AQWorkspace |
newWorkspaceSubversion()
Returns a Subversion workspace object for the purpose of checking out a working copy.
|
void |
update(String path,
Object username,
Object password)
A convenience method which performs a version control update to the latest (HEAD) revision
of the specified file or folder on the local file system.
|
AQWorkspace newWorkspaceSubversion()
AQWorkspace newWorkspaceCVS()
AQPerforce newPerforce()
AQGit newGit()
void commit(String path, String comment, Object username, Object password) throws Exception
path
- Full path in the local file system.comment
- Commit comment.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.Exception
- On errorvoid update(String path, Object username, Object password) throws Exception
path
- Full path in the local file system.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.Exception
- On errorAQWorkspace getWorkspaceSubversion(String path) throws Exception
path
- Full path in the local file system.Exception
- On errorAQWorkspace checkoutCVS(String folder, String url, String module, String revision, Object username, Object password, boolean verbose) throws Exception
folder
- Destination folder on the local filesystem.url
- Remote URL. Remote URL is of the form :pserver:<hostname>:/<repository>module
- CVS module (directory).revision
- Revision number or a tag. A null
is equivalent to HEAD revision.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.verbose
- When true, the output of checkout operation will be sent to the console.Exception
- On errorAQWorkspace checkoutSubversion(String folder, String url, String revision, Object username, Object password, boolean verbose) throws Exception
folder
- Destination folder on the local filesystem.url
- Remote URL.revision
- Revision number or a tag. A null
is equivalent to HEAD revision.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.verbose
- When true, the output of checkout operation will be sent to the console.Exception
- On error
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.