Committing Changes to Version Control

From RAD Studio
Jump to: navigation, search

Go Up to Subversion Integration in the IDE


Committing a file or project saves it to the repository. All users are then able to access your changes by updating their local copies of the file or project.

Commit will commit your changes to your local and to the remote repository.

To commit a specific file

  1. In the Project Manager, right-click the file that you want to commit.
  2. In the context menu, select Subversion > Commit. The Commit (SVN) pane appears in the main window of the IDE.
  3. Enter a comment for the log in the Commit field. You can see (or select) comments from previous committed versions.
  4. Click Commit. The version control system displays results in the Messages View.


To commit a directory or an entire project

  1. In the Project Manager, right-click the folder or the project that you want to commit.
  2. In the context menu, select Subversion > Commit.
  3. Under the Commit 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 adds to the commit pane all the files in that directory and below.
    • From Project Directory adds to the commit pane all files in the project directory and below.
    • Files in this Project adds to the commit pane all files (and their associated files) listed in the Project Manager.
  4. The commit pane appears in the main window of the IDE. Select the files you want to commit in the Commit to: Location field.
  5. Enter a comment for the log in the Commit field. You can see comments from previous committed versions.
  6. Click Commit. The version control system displays results in the Messages View.
Note: To avoid a conflict between versions, always do an update on your local files before you start making changes. If not, you risk committing an outdated file, which can lead to lock situations that require using the Clean command (available on the Project Manager). For Subversion, you can use Update (SVN)


See Also