Show: Delphi
C++
Display Preferences
Updating a Local Copy of a File under Version Control
From RAD Studio
Go Up to How To Use Subversion in the IDE
Updating a file will retrieve all the changes that were committed to that file.
To update a specific file
- In the Project Manager, right-click the file that you want to update. The file must be under source control by Subversion.
- In the context menu, select Subversion > Update. Subversion updates the selected file along with any files associated with it. For example, form files (.dfm files) are updated when source files are updated.
- Examine the results of the Update, displayed in the Subversion tab of the Messages View.
To update a directory or an entire project
- In the Project Manager, right-click the folder or the project that you want to update. The project and directory must be under source control by Subversion.
- In the context menu, select Subversion > Update.
- Under the Update command in the context menu, select one of the following subcommands:
- From Repository Root searches up the directory tree to find the last directory managed by the same repository as the project file and then updates all the files in that directory and below.
- From Project Directory updates all files in the project directory and below.
- Files in this Project updates all files (and their associated files) listed in the Project Manager.
- Examine the results of the Update, displayed in the Subversion tab of the Messages View.
Note: To avoid a conflict between versions, do an update on your local files before you start making changes. If not, you risk commiting an outdated file, which can lead to lock situations that require using the Clean command.