Skip to main content

Committing

After the user has made some changes he surely would like to save them to a remote location. This is when the commit operation is used. To commit the changes click on the 'Team>Commit' menu item, 'Commit the resource to version control' button on the 'SVN toolbar', 'Commit...' menu item in the SVN main menu group or clicking the 'Commit' button in the Synchronization View toolbar. The appeared dialog will allow the user to enter commit comments and choose which resources to commit. After performing this operation local changes are saved to a repository location. There may be errors while committing. For example, if the repository file copy changed his state after last synchronization, the commit operation would fail and to commit the resource the user should to perform synchronization and only then may be after some changes to local resource commit it. If there is a conflict the user should merge it and commit the resource, may be with overriding, if needed.

Tip:

It is strongly recommended to always input sensible commit comment. The dialog gives the user a warning message if the comment edit stays empty while some changes are made. Also there is another nice feature - the last entered comments are saved. So if the user is going to commit his changes and then remembers that he has forgotten, for example, make changes in "build.properties", of course there is no necessity to change the commit comment, so actually the user'll soon find this feature to be very useful. And at last the user can paste the names of all committing files to the comment by simple click on a 'Paste selected names' button. To force the locked resources remain locked enable 'Keep locks' option.

This is how 'Commit Dialog' looks like:

Commit dialog
Related topics
SVN main menu group
SVN Toolbar
SVN Workspace Synchronization
Making your own changes
Working with conflict changes
Overriding operations
Comment templates

Back to the top