In this section: |
This section describes the commands that are used most often with Apache Subversion (SVN).
You can update your local project to the latest version or to a selected version in the SVN repository. A version is a state in the repository that has a sequence number, which increases every time a change is made in the SVN repository with a commit operation.
To update to HEAD, which updates the SVN repository to the latest version available:
Right-click your project, select Team from the context menu, and then Update to HEAD, as shown in the following image.
The SVN repository is updated to the latest available version.
To update to Version, which updates the SVN repository to a specific version:
The Update dialog opens showing the Update Resources pane, as shown in the following image.
The SVN repository is updated to the specified version (revision).
To commit a change made to a file and create a version in the SVN repository:
A blue icon is appended next to the file name, as shown in the following image.
The Commit dialog opens, as shown in the following image.
An orange icon is appended next to the file name, as shown in the following image.
You may want to add only some files to the SVN repository and not others. For example, the files you want to add are required for testing purposes.
To flag files (or folders containing files) so they can be ignored by SVN during a commit operation:
The Add to svnignore dialog opens, as shown in the following image.
The file or folder you selected will be ignored by SVN.
You may modify files locally and then need to revert these changes to match the current state in the repository.
To revert a change:
The perspective will change (a Synchronize tab is shown), as shown in the following image.
The Revert dialog opens and lists the change(s) that will be reverted, as shown in the following image.
The confirmed change(s) are removed from the Synchronize perspective.
|
iWay Software |