|
Source Control - CVS
Provides multiple users with an option to store SQL scripts and other files in a CVS repository.
The implementation
of CVS source control in ADS includes:
-
The ability for a user to mount a directory to the File System in the Scripts tab in order to check out the module to the directory.
-
Configuration Dialog which allows a user to configure connection and to connect to a CVS server, including an option to check out the module right away.
-
Properties Dialog which allows a user to view configuration settings and change them. It also includes an option to check out the module after the change, which immediately updates that module without prompting.
-
Update Dialog which allows a user to check out updated files/directories from the repository.
-
Commit Dialog which allows a user to check in locally updated files/directories to the repository.
-
Delete Dialog which allows a user to remove a file/directory from the repository.
-
Show History Dialog which allows a user to view history of actions performed on a file. When the user clicks on the revision, the user can see the comments on the revision.
-
Compare Dialog which compares any 2 files from the Show History Dialog or 2 copies of a file, local and remote, from the Commit Dialog. The results
reflect deleted, added and modified lines and can be stored in an HTML file and previewed in a browser.
-
An option to disconnect from the CVS server.
How to mount a Version Control repository (CVS and Subversion)
- Outside of ADS, create or find a directory for use with CVS or Subversion. This will become your client repository.
- Within ADS, mount the directory from within the Scripts pane by right clicking and selecting Mount Directory.
- Right click on the directory within the Scripts pane and select Version Control > Configure from the drop down.
- Input the correct settings for your Version Control server. If "Checkout Module" is selected, the module will update immediately.
How to Commit changes
- Within the Scripts pane, right click on the client repository, select Version Control, select Commit.
- A window appears with a listing of all of the files within the client repository which includes the location, file extension and status within version control. Check all of the files you wish to commit to the Version Control server.
- You have the option of displaying unversioned files by marking a check box "Show unversioned files". By default, unversioned files are not selected for comitting.
- In the space at the bottom of the window you may enter comments on this version.
- When you have selected the files to commit and entered your comments, click OK to commit the changes.
How to update a Version Control file or repository (CVS and Subversion)
- Within the scripts pane, right click on a repository, directory or file and select Upate. This will retrieve the latest version from the remote repository.
How to add a file to Version Control (CVS and Subversion)
- Within the scripts pane, left click on a file, files or directory to select, then right click to select "Add". This will include the selection in the repository for versioning.
How to delete a file in Version Control (CVS and Subversion)
- Within the scripts pane, left click on a file, files or directory to select, then right click and navigate to "Version Control" to select "Delete". This will delete the selection from the repository.
How to revert a file in Version Control (CVS and Subversion)
- Within the scripts pane, left click on a file, files or directory to select, then right click and navigate to "Version Control" to select "Revert". This will revert the selection in the repository.
How to Show History in Version Control (CVS and Subversion)
- Within the scripts pane, left click on a file, files or directory to select, then right click and navigate to "Version Control" to select "Show History...". This will display the Version Control history of the selection in the repository.
|
|