Command: Update, Update project
Symbol:
Function: The command commits changes in the SVN repository to the project. The update is performed with the HEAD revision.
Call:
menu
If nothing or the main node is selected, then the entire project is updated (Update project). If one or more objects are selected, then these objects and their sub-objects are updated (Update SVN).
Projects are added to the project that are present in the SVN repository, but not in the project. In this case, the message "Added <object>" is displayed in the message view.
Objects that no longer exist in the SVN repository, but are present in the project locally (and not marked as "added”), are treated according to the Subversion standard procedure: If local changes are present, then the object remains in the project as unversioned. If there are no local changes, then the object is also deleted locally because the user can retrieve the object from an older version at any time. In this case, "Deleted object" is displayed in the message view.
Versioned objects which exist in both the SVN repository and the project are updated if they are different. There are three cases to consider:
No local changes have been made since the last update: In this case, the local object is overwritten by the contents from the SVN repository. The message Object updated is displayed in the message view.
Local changes have been made since the last update and the corresponding object type can be merged. When versions have been merged successfully, the message Objects merged is displayed in the message view. If the command is not executed successfully, then the object is marked as "Conflicted object" in the object tree and the message Conflicted object is displayed.
Local changes have been made since the last update and the corresponding object type cannot be merged. In this case, the object is marked as "Conflicted object" in the object tree and the message Conflicted object is displayed.
If only some of the objects are updated, it may be that objects with the same name already exist. For example, this situation can come from moving objects to a folder.
Do nothing and leave the conflicting objects as they are.
Update (and remove) the conflicting objects in order to resolve the conflict.
Update the entire project in order to remove all conflicting objects and resolve the conflict.