Committing to the Repository
As you'll see in the sections that follow, using SmartSVN to make changes to the contents of your project repository (and thereby, to your staging area and production website), is typically a simple three-step process:
- Highlight the file(s) you want to act upon
- Click the appropriate SmartSVN task button to indicate the action to be taken on the file(s)
- Commit your file(s) to the repository
It's the commit step that triggers SmartSVN to interact with the Subversion repository manager, which updates the repository to reflect your revisions.
- Click the Commit button.
- The Commit popup window opens to a Configuration panel. Click Next > to advance to the Files panel. Enter a comment and click Next >.
- In the Locks panel, check the box labeled Keep locks for committed files if you want to retain any lock(s) you hold on file(s) included in the commit operation. By default, your locks on file(s) included in a commit are released when the commit completes. Click the Commit button.
- The commit is complete. SmartSVN displays the new project revision number for the revised file and shows the local state of the file is Unchanged, indicating your working copy is synchronized with the repository.